Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is MsDeployPublish located?

When trying to deploy my site using TeamCity and Web Deploy I get this error:

error MSB4057: The target "MsDeployPublish" does not exist in the project.

Is there something I have to install on a build server? It's a clean Windows Server 2012 with Web Deploy 3.5 installed.

like image 433
Kulvis Avatar asked Oct 10 '13 12:10

Kulvis


1 Answers

I realise this question is quite old at this point, but:

MsDeployPublish is installed with the Web Application targets as part of Visual Studio. If you have only installed Server + Web Deploy, you'll need to either copy them from your developer installation or install Visual Studio. The targets can be copied from %programfiles(x86)%\MSBuild\Microsoft\VisualStudio

As an aside, there are some features that were added after the release of Visual Studio 2012, namely those that relate to Publishing Profiles (.pubxml). Those can be added to VS2010 by installing the Azure SDK and will be installed to %programfiles(x86)%\MSBuild\Microsoft\VisualStudio\v10.5\Web

like image 184
Richard Szalay Avatar answered Oct 03 '22 17:10

Richard Szalay