1
votes

After a check in from Visual Studio 2013 I am getting the following 2 build errors:

C:\a\src\project.nuget\nuget.targets (58): The process cannot access the file 'C:\Users\buildguest\AppData\Roaming\NuGet\NuGet.Config' because it is being used by another process.

C:\a\src\project.nuget\nuget.targets (58): The command ""C:\a\src\project.nuget\nuget.exe" install "C:\a\src\project\WebWorkerRole\packages.config" -source "" -o "C:\a\src\project\packages"" exited with code 1.

1

1 Answers

0
votes

Do you have enabled NuGet Package Restore in your solution? This adds nuget.exe and nuget.config into your solution and build can use it locally. To enable NuGet Package Restore right click on the Solution node in Solution Explorer and select Enable NuGet Package Restore (see NuGet documentation).