Visual Studio: project is not up to date “because ”AlwaysCreate“ was specified”?

后端 未结 10 1683
梦如初夏
梦如初夏 2020-12-13 18:20

I\'ve migrated a solution from VS2008 to VS2010 (SP1).
Now one of my project never finds peace in being up-to-date. Every build have the following output:



        
10条回答
  •  执笔经年
    2020-12-13 18:30

    For command line msbuild.exe builds you can use /verbosity:detailed and search the output for

    • "will be compiled as" to find compilations
    • "Source compilation required" to find links

    Note: Output can be piped to file by using msbuild.exe /verbosity:detailed > output.txt

    e.g.

    code.cpp will be compiled as C:\path\to\header.h was modified at 18/02/2016 15:58:31.
    Outputs for C:\path\to\code.cpp:
    

提交回复
热议问题