title: TFS NuGet tricks that I don't already know about?
body: <p>So, I've enabled package restore on my solutions
   - Install-Package NuGetEnablePackageRestore</p>
  
  <p>I've installed and updated NuGet on the TFS Build Server</p>
  
  <p>I've created the environment variable on the TFS Build Server
   - <a href="http://www.centrolutions.com/blog/post/2012/07/05/NuGet-and-TFS-2010-Automated-Build.aspx" rel="noreferrer">http://www.centrolutions.com/blog/post/2012/07/05/NuGet-and-TFS-2010-Automated-Build.aspx</a></p>
  
  <p>I've deleted all of my packages.config files and started over again on every project.</p>
  
  <p>I've added the .nuget folder path to the build job, along with a defined Build Agent Folder</p>
  
  <p>I've almost finished my noose and plan on hanging myself at dawn...is there something I'm missing?</p>
  
  <p>Forgot to put TFS Build errors</p>
  
  <p>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'.</p>
  
  <p>and </p>
  
  <p>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.</p>
  
  <p>Removed full path for security.</p>
  
  <p><strong>DISCOVERY:</strong></p>
  
  <p>My TFS administrator set up the environment variable as a USER variable! I just figured I would ask her to show me exactly how she configured it and as soon as she did, I realized it was wrong.</p>
  
  <p>I am no longer getting the Package restore error...wooo! I am however getting "Unable to find version" errors, which makes me think that the TFS box doesn't know of the proper package sources. I've verified that the package source is accessible from the TFS build box, also I've configured NuGet on that box to have reference to the package shares.</p>
  
  <p>Is it possible to do this without a package server? I have been using file shares for all of my local builds, but I'm wondering if the rules change when it hits the TFS box. Do I need to define my package sources in the Nuget.config file?</p>