After installing the Visual Studio SDK you may encounter the situation where every time you open a solution Visual Studio will automatically check out all of the project files for you.  Immediately.

Kind of weird, especially as you've not made any changes yet, right?

Well, actually Visual Studio has made some changes for you on your behalf, just because it's trying to be "helpful".  If you look at the differences between your project and another one you'll see a little bit of extra XML as follows:

<service include="{B4F97281-0DBD-4835-9ED8-7DFB966E87FF}" />

This is actually a known bug in the T4 DSL tool which comes with the SDK.  And fortunately it's easy enough to resolve.

Go to RegEdit and delete or rename the following keys (the 8.0Exp may not be present on your machine) :

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Packages\{a9696de6-e209-414d-bbec-a0506fb0e924}

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0Exp\Packages\{a9696de6-e209-414d-bbec-a0506fb0e924}

(64bit users should look in HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\...)


Now when you open Visual Studio it will stop adding the extra XML and won't keep checking out the projects for you. For more details check the following thread: