开发者

Deploying a Web Application from the command line

Im looking to deploy a web application on a build server.

It is a very small web app and so far i have written a nice little console app that checks out from SVN and then calls msbuild on the .sln file.

This of course is not the same as publishing a web app and so far have not 开发者_开发百科found a programatic way of publishing.

So my question is this..

After msbuild has run can i simply delete all .cs and .vb files and then deploy?

or

Should i really try and find a way to publish programatically?


I would suggest using a nant build script where you can use the AspNetCompiler task to publish you web app.

AspNetCompiler

Or you can use the ASP.NET Compilation Tool from the command line.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜