Discussion:
MSdeploy command line options
(too old to reply)
Howlingwolf
2017-05-10 19:57:10 UTC
Permalink
With a zip file that was created with VS2010, what is the commands necessary to publish a web application to a server?

This link was not very helpful: https://technet.microsoft.com/en-us/library/dd569106(v=ws.10).aspx

Looking for something like:

msdeploy MyProject.csproj /p:PackageLocation=c:\packages\WebAppsource.zip /p:DeployServer=\\myserver\c\inetpub\wwwroot\mywebapplocation /t:Package
Arne Vajhøj
2017-05-10 23:28:49 UTC
Permalink
Post by Howlingwolf
With a zip file that was created with VS2010, what is the commands necessary to publish a web application to a server?
This link was not very helpful: https://technet.microsoft.com/en-us/library/dd569106(v=ws.10).aspx
msdeploy MyProject.csproj /p:PackageLocation=c:\packages\WebAppsource.zip /p:DeployServer=\\myserver\c\inetpub\wwwroot\mywebapplocation /t:Package
The example at:

https://technet.microsoft.com/en-us/library/dd569005.aspx

looks a bit different.

Arne
Marcel Mueller
2017-05-12 07:49:22 UTC
Permalink
Post by Howlingwolf
With a zip file that was created with VS2010, what is the commands necessary to publish a web application to a server?
Assuming the file is created with the VS publish to file option: usually
it is sufficient just to unzip the content into a target folder and use
the IIS configuration manager to assign a virtual folder (if not already
under wwwroot) and convert it to a web application. The latter is only
required for the first time you deploy.
I never used msdeploy.


Marcel

Loading...