Question : How do I publish a VS 2005 web application using msbuild form the command line?

I am newbie to using nant and msbuild. I would like to know how I could call msbuild.exe from the commandline to publish the VS 2005 webapplication project written in c#.net.

Then I would like to call this using nant script.

Any help will be appreciated in this regard.

Answer : How do I publish a VS 2005 web application using msbuild form the command line?

Ah no, the publish through a VS doesn't have a msbuild file, it's also not ideal for many reasons.

It is entirly posible to do the same as a publish with msbuild. The reason I suggest a web deployment project is that it will help you construct the files you require without having to write them yourself. Once you have used a web deployment project once to create yourself the template files you don't need it again and you can manually tweak and re-use the files it has created for you.
Random Solutions  
 
programming4us programming4us