views:

115

answers:

2

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.

+1  A: 

One suggestion is to convert to a Web Application Project.

Forgotten Semicolon
This seems to be what I needed. I never realized there was a difference until now!
Miky Dinescu
A: 

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

Chris
Thanks @Chris, but this is not what I was looking for.
Miky Dinescu