Search code examples
visual-studiobuildvisual-studio-2005post-build-eventvs-web-site-project

Is it possible to add Post Build Tasks/Steps to a Visual Studio website project?


I've got this ASP.NET 2.0 website project in Visual Studio that I've been working on for a while now. Over time the project grew little by little and in the end I ended up with quite a few steps that I had to run at the end, every time I wanted to publish the project.

So, I wrote a script that I can run which executes all the clean-up steps for me and which is pretty reliable.

Now, I was very dissatisfied to find that Visual Studio 2005 doesn't provide any means to execute post build tasks with website projects. Is there a way I can do that?


Solution

  • One suggestion is to convert to a Web Application Project.