Search code examples
buildmsbuildteamcitydebug-symbols

How to set debug=false while building a solution in teamcity


I want to set debug=false while building a solution using msbuild in teamcity. Is there any parameter that I can pass so that while building in release mode it wont copy the debug symbols in bin directory. I tried using /p:debug=false but it didnt work. I don't want to use web config transformation.

Thanks


Solution

  • To not generate the pdbs then you need to pass /p:DebugSymbols=false;DebugType=None commandline