Restoring Smart Tags in the C# IDE after installing LINQ Preview May 2006

When you have installed the latest LINQ preview and have installed the Language Service, you wil notice that all of a sudden all the smart tags and refactoring commands stop working.

The first time I solved this by reinstalling VS (somewhat harsh and time consuming :-)) It turns out that you also kan have both LINQ and smart tags by fixing a registry key:

  1. Start up RegEdit.exe
  2. Open HKEY_LOCAL_MACHINESoftwareMicrosoftVisualStudio8.0Packages{A066E284-DCAB-11D2-B551-00C04F68D4DB}SatelliteDLL
  3. Edit the "Path" value and change it from "C:Program FilesMicrosoft Visual Studio 8VC#VCSPackages1033" to "C:Program FilesMicrosoft Visual Studio 8VC#VCSPackages"
  4. Then run devenv /setup /resetuserdata /resetsettings

This tip was originally posted on the Microsoft Linq forum.