3

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

------ 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目标总是执行?

细节:

视觉工作室 2013 更新 5

.NET 框架 4.6.1

MSBuild 4.6.1055.0

构建输出详细程度设置为正常

没有预构建或构建后步骤

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

4

0 回答 0