Build Web Deployment Package From Command Line

后端 未结 1 1517
后悔当初
后悔当初 2020-12-18 18:16

Is there any way to build deployment package for a Web Application using Visual Studio 2010 CommandLine ?

相关标签:
1条回答
  • 2020-12-18 18:59

    I think this has what you are looking for

    MSBuild "MyProjectName.csproj" /T:Package /P:Configuration=Staging;PackageLocation="D:\Vishal\Package.zip"
    

    I got this from this site: http://vishaljoshi.blogspot.com/2009/02/web-packaging-creating-web-packages.html

    0 讨论(0)
提交回复
热议问题