msBuild publicar en la línea de comando de carpeta .net
msbuild mysln.sln /p:DeployOnBuild=true /p:PublishProfile=<profile-name>
Worried Wasp
msbuild mysln.sln /p:DeployOnBuild=true /p:PublishProfile=<profile-name>