Managing web.config for teams in VS2010 & TFS

Posted by Jarrett on Stack Overflow See other posts from Stack Overflow or by Jarrett
Published on 2010-05-28T19:55:54Z Indexed on 2010/05/30 3:52 UTC
Read the original article Hit count: 404

Filed under:
|
|
|

With VS2010's mandate that web.config be included in the project, how do we allow everyone to keep their own custom config file without getting into source control problems?

Previously, we would simply leave web.config out of our project, allowing everyone to keep their own local version of web.config on their machine. We moved to VS2010, and it is now forcing me to add web.config to my project in order to run debug mode. Because our project is linked to TFS, it automatically adds web.config to source control and tries to maintain it that way.

Is there a way to run in debug mode without including web.config in your project? Or is there a better way to manage config files?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about tfs