How to update “Installation folder URL” of publish setting based on Visual Studio configuration?

Hi experts,

For example when I build for x64 I need it to be


and when I build it for x86 I need it to be

I use Teamcity "Visual Studio (sln)" runner.

I tried to add parameter to "Command line parameters:" with


However it doesn't work. I found other guys expereinced the similar issue:

Command Line Parameters in VS Runner /Verbosity

TeamCity and MSBuild Quirks

I guess I have to implement above requirement by MSBuild runner.

Thanks in advance,


Please sign in to leave a comment.