Ange
Ange

Reputation: 253

Build Web Deployment Package From Command Line

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

Upvotes: 24

Views: 7215

Answers (1)

hivie7510
hivie7510

Reputation: 1246

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

Upvotes: 26

Related Questions