Before I try to re-open issue #1974, I thought I'd start a discussion to see if maybe it's something I'm doing.
I've removed all the packages within the packages directory, and then rebuilt:
msbuild.exe /v:m /p:Configuration=Debug /nologo /t:Build dev\backend\server.sln /m
The build will fail with multiple errors like this:
C:\Users\Matt\projects\MyProject\dev\backend\.nuget\NuGet.targets(43,9): error : The process cannot access the file 'C:\Users\Matt\projects\MyProject\dev\backend\packages\log4net.1.2.11\lib\net35-client\log4net.dll' because it
is being used by another process. [C:\Users\Matt\projects\MyProject\dev\backend\Games\MyGame\MyGame.csproj]
However, immediately running a second build will succeed because the previous, failing build
did manage to install all of the packages.
Can anyone help me out with this? I'm not sure what else I could be doing.