Web Deploy to Server with MSBuild
I have a publish profile set up in a VS 2012 project. When I right click on the project in VS, select Publish and click on the [Publish] button, it publishes the project to the server using the settings provided in the Publish Profile. When I use msbuild and the command line, with the following syntax: msbuild.exe .\mvc.csproj /p:PublishProfile=DevServer /p:DeployOnBuild=True /p:Password=MyPassword /p:AllowUntrustedCertificate=true Then it builds the project, and gives me a message: Package "mvc.zip" is successfully created as a single file at the following location: file:///c:/code/mvcsite