is there are way to use nuget Packages with dotnet on a raspberry PI without Internet? I have installed dotnet SDK on a raspberry PI. I have also installed nuget CLI on raspberry PI. I am using nuget CLI with mono. I followed the second Answer from this Question : dotnet add package with local package file
I created a feed from package. When I enter:
dotnet add package MyPackage -s ./packages
I get this as output:
Writing /tmp/tmp3Ax5wm.tmp
info: Adding PackageRefernce for package 'system.device.gpio' into project '/home/pi/ws/dotnet/testapp.csproject'.
info: Restoring packages for /home/pi/ws/dotnet/testapp.csproject...
error: Unable to load the service index for source https://api.nuget.org/v3/index.json.
error: Resource temporarily unavailable
Somebody has an idea? I coppied the .nupkg with a usb stick on the raspberry pi. Maybe running a nuget Server on the raspberry pi and push it the local server and install it from there? For example https://github.com/ai-traders/liget ? Is there a easy way to solve the problem?
dotnet addon the RPI? Can it compile code? As far as I was aware of, the SDK's wasn't available for the RPI yet. I thought you had to compile code on a platform that allowed the SDKs, such as Windows, and then copy already compiled assemblies to the RPI..nupkgfile found somewhere. You can create a local folder, download and store a bunch of.nupkgfiles in there and instruct Nuget to use that folder as a source. If packages needed are found in that local folder, they will not be attempted downloaded over the internet.