Teamcity is blocking when buiding wix project by using MSBuild

Completed

Teamcity is blocked when building even an empty wix project. I have to click stop button to stop the building;

Runs the following cmd 

"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe" C:\TeamCity\buildAgent\work\5ece75b56d226a82\AlgoTradingMonitorSystem\SetupProject1\SetupProject1.wixproj /t:Clean;Rebuild /p:Configuration=Release @C:\TeamCity\buildAgent\temp\agentTmp\1.rsp

Note: Remove the last param "@C:\TeamCity\buildAgent\temp\agentTmp\1.rsp"  the build is success

The last build info 

 

0
1 comment

I've had the same issue and was able to solve it using the following link:

https://stackoverflow.com/questions/60102985/build-hangs-while-building-wix-installer

I had to add "/p:RunWixToolsOutOfProc=true" to the Command Line Parameter of the msbuild build step:

Hope this helps.

1

Please sign in to leave a comment.