Last active
September 9, 2016 14:02
-
-
Save TristinDavis/44f3d1501682f293a5fcefef949269c6 to your computer and use it in GitHub Desktop.
CI WebDeploy using MSBuild - Creates WebDeployment package and then deploys that package using the given published profile name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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 | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's best to create a build and use a publish profile with the same name for both web apps (e.g. it will be deployed to the proper directory)