Strange Build error after upgrading to Visual studio 2015 wants to copy pagefile.sys

前端 未结 7 1376
名媛妹妹
名媛妹妹 2020-12-08 19:56

I get this error when building an MVC project in a solution. No references to those files exists in my solution at all.

C:\\Program Files (x86)\\MSBuild\\14.         


        
相关标签:
7条回答
  • 2020-12-08 20:33

    I encountered the same issue.

    The problem starts when you upgrade the DotNetCompilerPlatform to version 1.0.1.

    To work around this issue you can downgrade to version 1.0.0 using the NuGet package manager.

    EDIT: If you uninstall Microsoft.CodeDom.Providers.DotNetCompilerPlatform AND Microsoft.Net.Compilers, and then install the DotNetCompilerPlatform (has a dependency on the Microsoft.Net.Compilers package so it will automatically install that) package again the error disappears for good so it seems.

    Still not sure what happens under water but I can work again!

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