0

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?

frennky
  • 12,581
  • 10
  • 47
  • 63

1 Answers1

0

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.

Community
  • 1
  • 1
frennky
  • 12,581
  • 10
  • 47
  • 63
  • +1 for solving my root problem. Now, I'd like to know about the pre-build events for MVC projects. Any idea how to do it :) –  Apr 30 '11 at 05:02