How to automatically publish a website on build in Visual Studio 2008?

Viewed 19978

I want to be able to automatically publish to a local folder each time a web asp.net mvc 2 project is built.

I use Visual Studio 2008.

5 Answers

Well you could do it with MSBuild in a post-build event.

But are you sure you want to do this? It will slow you down, and you probably don't need to publish for every build? Why not just run the site in IIS instead of Cassini.

Related