The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
What exactly is NuGet and can I get around its package restore without an internet connection?
I'm trying to build an app for hololens. I have a PC with Windows 10, Unity 5.5.1 and the needed Unity packages to build for hololens. However, when i try to build the project, Unity throws an error "Failed to restore NuGet packages". All the solutions I have found on google related to this issue say to "be sure your internet is connected" but due to company policy, I can't connect this PC to the internet. I don't really know what NuGet is and Is there a set of files I can download on a different pc and transfer, or some other way to get around this error?
Best Answer
-
AmerAmer ✭✭✭
Nuget is library distribution/sharing platform. Pretty much if you want a library built by somebody added to your project, instead of having to copy dll's and adding references, it does it for you. Because nuget packages are hosted by a server, you have to connect to it to get them. If you copied the solution from another computer that already downloaded the packages, there is a nuget folder that caches all the previously downloaded packages in the solution. You can right click on your solution and go to Manage Nuget packages for the entire solution. If a package is not necessary for what you're doing you can remove it here. More than likely you need the package, so internet connection is going to be necessary
http://www.redsprocketstudio.com/
Developer | Check out my new project blog5
Answers
Nuget is library distribution/sharing platform. Pretty much if you want a library built by somebody added to your project, instead of having to copy dll's and adding references, it does it for you. Because nuget packages are hosted by a server, you have to connect to it to get them. If you copied the solution from another computer that already downloaded the packages, there is a nuget folder that caches all the previously downloaded packages in the solution. You can right click on your solution and go to Manage Nuget packages for the entire solution. If a package is not necessary for what you're doing you can remove it here. More than likely you need the package, so internet connection is going to be necessary
http://www.redsprocketstudio.com/
Developer | Check out my new project blog