Team System Developer Center > Visual Studio Team System Forums > Getting Started With Visual Studio Team System > Visual Studio 2008 - Class Diagram Fault - just shows file path!
Ask a questionAsk a question
 

QuestionVisual Studio 2008 - Class Diagram Fault - just shows file path!

  • Wednesday, October 21, 2009 12:43 PMDibley1973 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Has Code
    Hi,

    I wonder if any one can help....

    When I try to drag a class from solution explorer onto the class digram esign surface it just showes the file path in normal text, like so
    C:\Projects\Project1\BusinesEntities.Teacher.vb
    It does not show the classes or their relationships with other classes.

    Also the context menu is not showing correctly, I believe it should have ability to add a class and other functionality.
    I just get

    _________________
    Email CodeSnippet
    Breakpoint >
    Run To Cursor
    ---
    Cut
    Copy
    Paste
    ---
    Outlining
    _________________

    To me that looks more like the options you would get while viewing a class file's code.

    Please can anyone help?

    Thank in advance.

    Best regards
    Duane


All Replies

  • Wednesday, October 28, 2009 6:21 AMEdwer FangMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello Duane,

    You may try the following ways to see if you can fix this issue.

    ·     Try to run devenv /setup and devenv /resetskippkgs.

    ·          Try to run devenv /ResetSettings (in command prompt) to eliminate the related potential settings problem.

    ·          Try disabling Add-ins (e.g. “Tools” | “Add-in Manager”) or run “devenv.exe /SafeMode”.This can eliminate the possibility that third party Add-ins or packages are causing problems. (For more detailed VS command line switches information, see: http://msdn2.microsoft.com/en-us/library/xee0c8y7.aspx )

    ·          Try creating a new project. Sometimes corrupted project settings can cause problems. These are project specific.

    ·          Make sure that we have the latest service pack applied.

    ·          Try to reboot the operating system to safe mode. This can help to isolate whether any other applications are interfering with Visual Studio. Note that some features (like IIS) are not available under safe mode. Please check whether this can be applied or not. In addition to safe mode, we can also try “clean boot”: How to configure Windows XP to start in a "clean boot" state http://support.microsoft.com/kb/310353 .

    ·          Try to create a new user account. This can help isolate user profile corruption related causes.


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Send us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.