开发者

Why does TeamCity add "csproj.teamcity.patch" to web app package files?

开发者 https://www.devze.com 2023-01-25 21:29 出处:网络
I suspect there\'s probably an easy answer to this I\'m just not seeing, but whenever I run a TeamCity build with either MSBuild or the Visual Studio solution runn开发者_如何学Goer against a .csproj a

I suspect there's probably an easy answer to this I'm just not seeing, but whenever I run a TeamCity build with either MSBuild or the Visual Studio solution runn开发者_如何学Goer against a .csproj and target "Package", the build artifacts always include the "csproj.teamcity.patch" string after the project name:

Why does TeamCity add "csproj.teamcity.patch" to web app package files?

Running the same process via command line doesn't include these. The problem it's causing me is that my build script has a target which looks for "Web.deploy.cmd" after the package task runs and obviously it's not finding it when files are named this way. I'm reticent to change the command in the build script to include the TeamCity string as it will play havoc with running it from outside the build servers.

Can anyone tell me why this is happening and how you'd work around it when you need to be able to refer to the artifacts by name?


You may set 'teamcity.msbuild.generateWrappingScript' configuration parameter with value 'false' to make TeamCity avoid generating wrapping script.

TeamCity MSBuild/Solution build runners used to generate wrapping scripts to add TeamCity-provided tasks.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号