runtime: nuget.dgspec.json "in use" error during build
I just did:
git clean -xdf
git pull upstream master
build.cmd
and got this error soon into the build:
D:\repos\corefx\src\System.Runtime\tests\TestStructs\System.TestStructs.ilproj : error : One or more errors occurred. (The process cannot access the file 'C:\Users\stoub\AppData\Local\Temp\687ea92c-fc3a-417b-8b0f-f858ff41dab5.nuget.dgspec.json' because it is being used by another process.)
cc: @ViktorHofer, @ericstj
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 1
- Comments: 18 (13 by maintainers)
I have submitted a PR to fix this in NuGet: https://github.com/NuGet/NuGet.Client/pull/3170
It’s already reported: https://github.com/NuGet/Home/issues/8692
@chibanemourad @Kieranties please post your comments there as well 😃
Folks, if you are hitting this when not building the dotnet/corefx repo then please open an issue with your details in http://github.com/nuget/home. This issue is tracking an issue with CoreFx’s build system.