【发布时间】:2015-12-08 00:31:06
【问题描述】:
在解决方案中构建 MVC 项目时出现此错误。我的解决方案中根本不存在对这些文件的引用。
C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(4105,5): error MSB3030: Could not copy the file "D:\bootmgr" because it was not found.
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(4105,5): error MSB3030: Could not copy the file "D:\BOOTNXT" because it was not found.
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(4105,5): error MSB3030: Could not copy the file "D:\pagefile.sys" because it was not found.
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(4105,5): error MSB3030: Could not copy the file "D:\swapfile.sys" because it was not found.
我的同事可以毫无错误地构建。
【问题讨论】:
-
您可以通过查看详细的构建跟踪来排除此类故障。你不给我们看就帮不了你。
-
对此的任何回答都会有所帮助。我收到以下错误:错误 12 无法将“C:\hiberfil.sys”复制到“bin\roslyn\hiberfil.sys”。重试次数超过 10。失败。 ModellerWebTrials
-
Microsoft.CodeDom.Providers.DotNetCompilerPlatform 是导致此错误的 nuget 包。
标签: msbuild visual-studio-2015