Question

I've got this ASP.NET 2.0 project 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 Web Projects. I'm wondering if any of you have had this problem and if there are any hacks that you're aware that would make my life a little easier.

Was it helpful?

Solution

One suggestion is to convert to a Web Application Project.

OTHER TIPS

The other solution would be to create a web deployment project for your website and add a MSBUILD task in its project file.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top