开发者

Is it possible to add Post Build Tasks/Steps to an ASP.NET (2.0) Website Project?

开发者 https://www.devze.com 2022-12-10 06:32 出处:网络
I\'ve got this ASP.NET 2.0 project that开发者_StackOverflow社区 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've got this ASP.NET 2.0 project that开发者_StackOverflow社区 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.


One suggestion is to convert to a Web Application Project.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号