How can I set a pre-build event in an ASP.Net MVC 2 Application in Visual Web Developer 2010 Express?
I am developing an ASP.Net MVC 2 Application in Visual Web Developer 2010 Express.
I was开发者_运维百科 researching about using the build configuration to copy the right web.config file for development and testing environment and found this article. But, I am not able to find out how to set the pre-build event for my project, which is required according to the article.
How can I set the pre-build event?
Instead of using pre-build events, you could try with Web.Config Transformations.
Edit:
Step 5 of the article you linked explains how to do that, except that call
command is missing, see this question.
For more info on pre-build events see this MSDN article.
精彩评论