Geeks With Blogs
José Escrich Blog extensibility thoughts

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:

Posted on Tuesday, March 13, 2007 12:05 PM c# , Visual Studio | Back to top

Comments on this post: Removing Code Snippets from VS 2005

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Jose Escrich | Powered by: