How can I make TeamCity take advantage of MSBuild's incremental build support?

前端 未结 3 1250
南笙
南笙 2021-02-14 00:00

I\'m setting up TeamCity (migrating from CruiseControl.NET) and I\'m struggling to get it to perform incremental builds through MSBuild.

I\'ve got a small .proj file whi

3条回答
  •  深忆病人
    2021-02-14 00:26

    Adjusting TargetFrameworkMonikerAssemblyAttributesPath works around this issue, as Paul Turner mentions. Rather than battle the High Magick in Microsoft's build system scripts, I added an environment variable to set TargetFrameworkMonikerAssemblyAttributesPath in TeamCity project parameters.

    In TeamCity's project settings, I set env.TargetFrameworkMonikerAssemblyAttributesDir to %env.windir%\Temp.

提交回复
热议问题