Aug 8, 2012 at 12:43 AM
Edited Aug 8, 2012 at 1:46 AM
So, I've enabled package restore on my solutions
- Install-Package NuGetEnablePackageRestore
I've installed and updated NuGet on the TFS Build Server
I've created the environment variable on the TFS Build Server
I've deleted all of my packages.config files and started over again on every project.
I've added the .nuget folder path to the build job, along with a defined Build Agent Folder
I keep getting:
C:\Builds\10.......nuget\nuget.targets (76): 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'.
C:\Builds\10.......nuget\nuget.targets (76): The command ""C:\Builds\10.......nuget\nuget.exe" install "C:\Builds\10......\packages.config" -source "" -o "C:\Builds\10......\packages"" exited with code -1.
Removed full path for security.
I've almost finished my noose and plan on hanging myself at dawn...is there something I'm missing?