Exitos
Exitos

Reputation: 29720

How do I stop visual studio checking out the web.config?

I want to make changes to my web.config file but I dont want to check it out (as I really dont want to accidently check it in).

How can I do this? I unchecked 'read-only' in the file properties but this didn't help. Any ideas?

Upvotes: 3

Views: 1239

Answers (2)

Ewald Hofman
Ewald Hofman

Reputation: 12668

I tend to use the T4 template in which you can generate the local web.config based on some rules, so each developer has its own local customized web.config - or all devs use the same web.config that is different than the one you ship.

Upvotes: 1

PVitt
PVitt

Reputation: 11770

You have to disable checking out files when you start editing them. This can be done via the source control part of the Visual Studio Configuration dialog.

Upvotes: 3

Related Questions