Click here to Skip to main content
15,886,519 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I've tried several different commands and versions of MSBuild but I still can't generate a Web deploy package from it. I can, however, create one via Visual Studio 2017 using the same solution and pubxml file.

What I have tried:

I must be missing something in command line but I don't know what. Below are the commands I have tried:

/p:DeployOnBuild=true
/p:PublishProfile=<location of pubxml file>
/p:PackageLocation=<where to put zip>
/T:Package
/p:PackageAsSingleFile=true
/p:WebPublishMethod=Package

and various combinations of those with MSBuild versions from .Net 4.5, VS2017, and VS2015.
Posted

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900