by
3 9
0
3
1,410
2
Top 1% !
Famous
Specified
Popularity: 19578th place

Published on:

No tags for this snippet yet.
LanguageBatchfile
SourceGitHub
SourceMyGists

CI WebDeploy using MSBuild  - Creates WebDeployment package and then deploys that package using the given published profile name

CI WebDeploy using MSBuild  - Creates WebDeployment package and then deploys that package using the given published profile name: 
msbuild-webdeploy.commandline.cmd
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/1451339/CI-WebDeploy-using-MSBuild----Creates-We?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
## Deployment Step ## ``` MSBuild.exe C:\Projects\Class.csproj /P:Configuration=Debug /P:DeployOnBuild=true /P:DeployTarget=Package /P:PublishProfile=ClassOnlineProduction /P:_PackageTempDir=C:\packages /P:CreatePackageOnPublish=True /P:VisualStudioVersion=14.0 ```
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus