Removing Code Snippets from VS 2005

Quite a while ago I ran into the issue where I couldn't remove code snippets from VS. It seems that is not enough (using the hard way) with removing the registry key (that's it: HKLM\Software\Microsoft\VisualStudio\8.0\Languages\CodeExpansions\CSharp\[PathToYourSnippet]) and the proper snippet file.

To do that you should also remove the snippet from the ExpansionsXML.xml file. If you're using XP you will find this file here:

c:\documents and settings\[YOUR USER]\Local Settings\Application Data\Microsoft\VisualStudio\8.0\1033

Although if you're running on vista, you will find it here:

C:\Users\[YOUR USER]\AppData\Local\Microsoft\VisualStudio\8.0\1033

Unafortunately I sent this bug to product feedback but they close the bug.

Another thread where the issue is discussed:

http://forums.microsoft.com/MSDN/ShowPost.aspx?Pos...

No Comments