Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to configure teamcity to build deployment package of asp.net mvc web project and put it into specified directory

I created build step with type "MSBuild", set Target to "Clean;Build;Publish", added command line parameters to /p:Configuration=Release;PublishDir=M:\MyPackage

after running configuration I got "success" status but M:\MyPackage folder is empty.

I need just revive deployment package files in directory on same computer but do not deploy to server or somewhere else

like image 763
Andrew Kovalenko Avatar asked Sep 24 '13 23:09

Andrew Kovalenko


1 Answers

I've solved this problem by creating "Visual Studio" build step and add next build parameters

/p:Configuration=QA
/p:DeployOnBuild=true 
/p:PublishDir=M:\MyPackage

It still do not copy deployment package to MyPackage folder, but it is available in "obj" directory of project sources and this is enough for me.

like image 78
Andrew Kovalenko Avatar answered Nov 03 '22 13:11

Andrew Kovalenko