The mystery of stuck inactive msbuild.exe processes, locked Stylecop.dll, Nuget AccessViolationException and CI builds clashing with each other

后端 未结 3 1084
醉话见心
醉话见心 2020-12-22 19:10

Observations:

  • On our Jenkins build server, we were seeing lots of msbuild.exe processes (~100) hanging around after job completion with around 20mb memory u

3条回答
  •  情歌与酒
    2020-12-22 19:19

    I had the same issue. One old reference I found was in csproj files

    
    ..\packages\StyleCop.MSBuild.4.7.48.0\tools\StyleCop.targets
    

    Also, I deleted the entire "Packages" folder that's located in the same folder as sln file after I closed the visual studio. It triggered VS to rebuild the folder and let go of the cache of the old version of stylecop

提交回复
热议问题