locked
vs2010 crashes when I edit a view in MVC project RRS feed

  • Question

  • Visual Studio 2010 crashes on me everytime I edit an MVC 3 view. Does not crash with my WPF projects.

    Is there a fix level I should be at?

    I create an MVC3 project. Internet. It compiles ok. Then double click the Index.cshtml file in Views/Home and VS2010 crashes.

    I do not have any 3rd party tools installed. I am using the visual studio tools from microsoft, downloaded and installed thru visual studio.

    The VS2010 install is from MSDN. The SP1 install was downloaded from the microsoft visual studio site.

    thanks,

    Microsoft Visual Studio 2010
    Version 10.0.40219.1 SP1Rel
    Microsoft .NET Framework
    Version 4.0.30319 SP1Rel

    Installed Version: Premium

    Microsoft Office Developer Tools 01021-532-2002102-70931
    Microsoft Office Developer Tools

    Microsoft Visual Basic 2010 01021-532-2002102-70931
    Microsoft Visual Basic 2010

    Microsoft Visual C# 2010 01021-532-2002102-70931
    Microsoft Visual C# 2010

    Microsoft Visual C++ 2010 01021-532-2002102-70931
    Microsoft Visual C++ 2010

    Microsoft Visual F# 2010 01021-532-2002102-70931
    Microsoft Visual F# 2010

    Microsoft Visual Studio 2010 Code Analysis Spell Checker 01021-532-2002102-70931
    Microsoft Visual Studio 2010 Code Analysis Spell Checker

    Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

    The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

    Microsoft Visual Studio 2010 Team Explorer 01021-532-2002102-70931
    Microsoft Visual Studio 2010 Team Explorer

    Microsoft Visual Studio LightSwitch 2011 01021-532-2002102-70931
    Microsoft Visual Studio LightSwitch 2011

    Microsoft Visual Web Developer 2010 01021-532-2002102-70931
    Microsoft Visual Web Developer 2010

    Add Reference Dialog Plus! 1.0
    An significantly enhanced Add Reference dialog for managed code projects.

    AlignAssignments 1.0
    Command for aligning assignments.

    AutoBraceComplete 1.0
    auto brace complete

    Crystal Reports Templates for Microsoft Visual Studio 2010
    Crystal Reports Templates for Microsoft Visual Studio 2010

    Document Well 2010 Plus 1.0.10916.0
    This package provides configurable behavior for the Document Well and its tabs. Please be sure to let us know what you like/dislike about this extension.

    ExtensionUpdateCheck 1.0
    Shows a notification icon in the system tray after Visual Studio startup if there are updates available for any installed extensions.

    InstallShield Limited Edition
    InstallShield. For more information visit the Flexera Software website at <http://www.FlexeraSoftware.com>. Copyright © 1997–2010 Flexera Software, Inc. and/or InstallShield Co. Inc. All Rights Reserved.

    Microsoft Visual Studio 2010 Premium - ENU Service Pack 1 (KB983509) KB983509
    This service pack is for Microsoft Visual Studio 2010 Premium - ENU.
    If you later install a more recent service pack, this service pack will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/983509.

    Microsoft

    Visual Studio 2010 SharePoint Developer Tools 10.0.31118
    Microsoft Visual Studio 2010 SharePoint Developer Tools

    Microsoft.VisualStudio.QuickAccess.Package 1.0
    Awesome search bar.

    NuGet Package Manager 1.2.20325.9034
    NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://nuget.codeplex.com.

    OptionsPageImpl

    1.0
    Information about my package

    QuickFind 1.0
    Visual Studio 2010 Quick Incremental Find Extension

    • Moved by Andrew.Wu Monday, September 12, 2011 2:40 AM (From:Visual Studio Setup and Installation)
    Sunday, September 11, 2011 2:04 PM

Answers

  • Hi Steve,

    Thanks for your post.

    Would you please help to check if this issue also happens on ASP.NET Web project?

    Based on your description, it appears this issue is caused by some web components package not successfully loaded. Thus, I would like to redirect you to the dedicated ASP.NET Forum: http://forums.asp.net/1213.aspx/1?Visual+Studio+and+Visual+Web+Developer+Express for more efficient response, where you can contact more ASP.NET experts.

    Additionally, you can enable Visual Studio logging to log all activity to the specified log path. Please run devenv.exe /log <log path> in Command Prompt, the log files will be generated in the <log path>. Then you can check and analyze the log file to see if there are anything incorrect. See: http://msdn.microsoft.com/en-us/library/ms241272.aspx

    Thanks for your understanding.

    Best Regards,


    Andrew Wu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Steve Richter Monday, September 12, 2011 12:18 PM
    Monday, September 12, 2011 2:40 AM