Error MSB3027: Could not copy “C:\pagefile.sys” to “bin\roslyn\pagefile.sys”. Exceeded retry count of 10. Failed

后端 未结 8 1748
既然无缘
既然无缘 2020-12-14 06:54

I am consistently getting this error with VS 2013:

Could not copy \"C:\\pagefile.sys\" to \"bin\\roslyn\\pagefile.sys\". Exceeded retry count of 10.

相关标签:
8条回答
  • 2020-12-14 07:53

    I removed these packages from nuget package manager since I do not use them:

    • Microsoft.CodeDom.Providers.DotNetCompilerPlatform

    • Microsoft.Net.Compilers

    Now everything works.

    0 讨论(0)
  • 2020-12-14 07:54

    Simply search for the process that has a handle on pagefile.sys using Sysinternals Process Explorer and kill it.

    0 讨论(0)
提交回复
热议问题