I have set up NuGet Package Restore on my solution and it works nicely on my local machine. I followed the instructions supplied here:
http://docs.nuget.org/docs/workflows/using-nuget-without-committing-packages
The problem I have is on my build server where the following error occurs:
Package restore is disabled by default. To give consent, open the Visual Studio Options dialog, click on Package Manager node and check 'Allow NuGet to download missing packages during build.' You can also give consent by setting the environment variable 'EnableNuGetPackageRestore' to 'true'.
Unfortunately I dont have access to the build server as it is controlled off site so cant update the environment variable. Is there any other way around this? Anything I can add to the solution file or similar that would allow the package restore?