Hosed Refactoring Smart Tags after LINQ May CTP Install

I installed the May CTP. The refactoring Smart Tags no longer work.

For example, when a variable name is changed, the underscore glyph appears indicating that a refactoring is available. Usually, by hovering over the glyph or by pressing a shutcut key, a Smart Tag will appear. This Smart Tag no longer appears.

Further, the Refactor shortcut menu is no longer available in the body of the editor.

I uninstalled the C# 3 language service using "Uninstall C# IDE Support.vbs", but the refactoring support was not reset.

How do I restore my IDE to it's previous state Do I need to re-install VS

By the way, I have noticed one other really odd behavior that is likely unrelated, but a bit unnerving. After the installation of the CTP is complete, Firefox opens and navigates to the VH1 homepage. I've done it a couple times and the behavior is consistent. I've scanned for viruses, trojans, kits, etc.


Answer this question

Hosed Refactoring Smart Tags after LINQ May CTP Install

  • andris11

    This doesn't fix the problem for me. The change to the registry key has had no discernible effect on my installation of Visual Studio.

    -Scott

  • Jensenuk

    Scott, have you tried using the "Uninstall C# IDE Support.vbs" script in the Linq\Bin folder (by default installed to C:\Program Files\LINQ Preview\Bin) did this not work

    Regards,

    D



  • sdiaconescu2001

    Can you please try fixing up the registry value HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\VisualStudio\8.0\Packages\{A066E284-DCAB-11D2-B551-00C04F68D4DB}\SatelliteDLL\Path

    If you still can't find this registry key then it is time to repair your visual studio installation from your original disk.

    As for the "odd" behavior at the end of LINQ install you mentioned, the installer is designed to open up 2 web pages from the following location using the default HTML browser installed on your machine:

    C:\Program Files\LINQ Preview\Readme for VB.htm

    C:\Program Files\LINQ Preview\Readme for C#.htm

    Note however the script to launch the readme was not tested with Firefox for this release and the difference between IE html handler registration and Firefox may explain the "odd" behavior you saw.

    Ting


  • 40th Floor

    Hi all.  For those who are experiencing this problem could you please try this work around

    1. Start up RegEdit.exe

    2. Open HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\Packages\{A066E284-DCAB-11D2-B551-00C04F68D4DB}\SatelliteDLL

    3. Edit the "Path" value and change it from "C:\Program Files\Microsoft Visual Studio 8\VC#\VCSPackages\1033\" to "C:\Program Files\Microsoft Visual Studio 8\VC#\VCSPackages\"

    4. Restart Visual Studio and see if these problems are fixed

     

    Thanks

     

    Ting Liang



  • p_metzler

    I tried all the steps in this thread but am not able to recover refactoring and resolve reference commands.

    I tried uninstalling, repairing LINQ.
    Running Uninstall C# IDE Support.vbs gave me the following error: Invalid root in registry key "HKLM\Software\Microsoft\LINQ Preview\VCSPKGDIR" Code: 80070002 Source: WshShell.RegRead

    The 2nd step changing the reg key doesn't work because that reg key is non existing
    calling devenv /xxx, etc. reset all my settings, etc. but refactoring is sill not restored.

    and the oddest thing of all!! .. Whenever I run LINQ setup, after it finished it launches 2 Firefox windows with a bunch of odd webpages opening!



  • Chris Jackson

    No. it was not. I was trying to get a certain version of SQL Server installed. (I think i had chosen not to install it in the first install and tried reinstalling it with it enabled this time. Needless to say things didn't go well :) ) Hopefully your experience will be more fullfilling

  • infinitelylimited

    Having had problems similar to this I would say you could try reinstaling VS but be prepared for both to be hosed permanently. I've not had any luck with reinstalling VS. On abrand new machine I installed VS and then had to reinstall it. Anything SQL related was hosed. Anything XSLT related was hosed. Subsequent uninstallations and reinstallations were of no avail. Sometimes the old "format" adage still stands true even in today's modern age but I'd definitely give it a try to see if it fixes it. Just be prepared for it to not.

  • Pintu Shukla

    Wow. How utterly dreary. I hope the reformat of your machine wasn't caused by installing a LINQ preview. Was it

  • Bayamo

    I did that and after that ran
    devenv /setup
    devenv /resetusersettings
    devenv /resetsettings

    but still not restored :(

  • dirtydozen

    I got the Uninstall C# IDE Support.vbs working by replacing all HKLM\Software\ with HKLM\Software\Wow6432Node but this still doesn't restore my refactoring items... :/

  • argodev

    Terotech.Com Ltd wrote:
    Scott, have you tried using the "Uninstall C# IDE Support.vbs" script in the Linq\Bin folder (by default installed to C:\Program Files\LINQ Preview\Bin) did this not work

    Indeed, as I mentioned in the head post of this thread, I have run the "Uninstall C# IDE Support.vbs".


  • YoungJoe

    Sorry to hear that. Can you try one more step:

    5. Go to C:\Program Files\Microsoft Visual Studio 8\Common7\IDE and run devenv /setup followed by devenv /resetuserdata followed by devenv /resetsettings CSharp.

    Ting Liang



  • Autofreak

    We are looking into the problem and will get back to you once we have a fix or a workaround. Thanks for reporting.

    Dinesh



  • p33

    Yes, that fixes the problem. Although, VS did crash during the second step. I ignored the error and did not send an error report. The IDE appears to be running correctly now - at least in terms of the refactoring SmartTags.

  • Hosed Refactoring Smart Tags after LINQ May CTP Install