Hangup on opening files in .Net Visual C++ projects

Locked Hangup on opening files in .Net Visual C++ projects

  • Monday, April 16, 2012 5:03 PM
     
     

    I am using .net Visual Studio, making C++ Dlls, on a Windows Vista emachines desktop. I’ve been doing that on this machine for about two years, no problem.

    Recently I have been experiencing a very frustrating phenomenon.

    When I initially open the application, it opens as fast as always, and when I double-click any file in the solutions list, the file opens quickly, no problem.

    Then, I switch to another project out of a possible 17. The project itself takes a very long time to open, and then afterward, any of the files in its solution list may take up to three minutes to open.

    No other application on my machine displays this behavior. It happens even when I turn off all my security features- anti-virus and anti-everything, reboot with these protections off, or anything else I can think of. I have sufficient resources- nothing has happened which gluts disk or ram memory. Task Manager discloses nothing new.

    Please advise.

All Replies

  • Tuesday, April 17, 2012 6:40 AM
     
     Answered

    Hello,

    Have you installed any add ons in your studio? May be some times they make the solution slow.

    • Marked As Answer by CADMeister Wednesday, May 09, 2012 5:10 PM
    •  
  • Tuesday, April 17, 2012 9:36 AM
    Moderator
     
     Answered

    Hi CADMeister,

    Please try to create a new project, see whether this issue still exists, sometimes corrupted project settings can cause problems. These are project specific.

    And please try the following workarounds:

    1. disable Add-ins (e.g. “Tools” | “Add-in Manager”) and run “devenv.exe /safemode” to eliminate the possibility that third party Add-ins are causing problems.

    2. use “devenv.exe /resetsettings” to restore Visual Studio default settings.

    3. use Visual Studio Setup Wizard (via Control Panel) to repair Visual Studio.

    If you have any further concern about this issue, please feel free to let us know, we will try our best to help solve this issue.


    Lucy Liu [MSFT]
    MSDN Community Support | Feedback to us

    • Marked As Answer by CADMeister Wednesday, May 09, 2012 5:10 PM
    •  
  • Tuesday, April 17, 2012 11:04 PM
     
     Answered

    THanx for prompt response.

    1) I have no add-ins.

    2) safemode runs just a bit faster; still VERY slow.

    3) restesettings isn't recognized by devenv

    4) The setup wizard isn't in the Control Panel. When I run it from the folder with all the dlls, etc, it eventually hangs on trying to do something with a pseudo-registry key with value Web Browser.

    5) I forgot to tell you- frequently, when I am hoping to open a project window, and see shadows of frames of files loaded previously from the Solution Explorer, I can finish the load and display quickly by clicking on the main window frame.

    • Marked As Answer by CADMeister Wednesday, May 09, 2012 5:11 PM
    •  
  • Wednesday, April 18, 2012 12:18 AM
     
     Answered

    Oh, one more thing--------

    When I open VS the first time, which is always the .exe project, it goes quite well. Then when I switch to a different project, always one of the supporting dlls, in my collection, the solution explorer is immediately visible. But then if other files were open in a previous session, or if I select one to open from the list in the Solution Explorer, that's where the trouble starts.

    So this seems to be a genuine Editor problem, which is why I'm in this forum.

    After the strange problem initializing a project, when I stay in the same project, I can then open files from the Solution Explorer normally- no hangup.

    • Marked As Answer by CADMeister Wednesday, May 09, 2012 5:11 PM
    •