如何在项目永远不是最新的时候进行故障排除?

时间:2016-04-13 16:19:23

标签: c# .net visual-studio msbuild incremental-build

这是我在“输出”窗口的“构建”选项卡中看到的内容,无论我重建项目多少次:

------ Build started: Project: MyProject, Configuration: Debug x64 ------
MainResourcesGeneration:
Skipping target "MainResourcesGeneration" because all output files are up-to-date with respect to the input files.
CoreResGen:
  No resources are out of date with respect to their source files. Skipping resource generation.
GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
CoreCompile:
Skipping target "CoreCompile" because all output files are up-to-date with respect to the input files.
_CopyOutOfDateSourceItemsToOutputDirectory:
Skipping target "_CopyOutOfDateSourceItemsToOutputDirectory" because all output files are up-to-date with respect to the input files.
_CopyAppConfigFile:
Skipping target "_CopyAppConfigFile" because all output files are up-to-date with respect to the input files.
CopyFilesToOutputDirectory:
  MyProject -> C:\MySolution\MyProject\bin\x64\Debug\MyProject.dll

Build succeeded.

========== Build: 1 succeeded, 0 failed, 666 up-to-date, 0 skipped ==========

为什么CopyFilesToOutputDirectory目标始终执行?

详细说明:

Visual Studio 2013 Update 5

.NET Framework 4.6.1

MSBuild 4.6.1055.0

将输出详细程度设置为“正常”

没有预构建或后构建步骤

关闭并行项目构建(最大数量设置为1)

0 个答案:

没有答案