VS2010 SP1 + MVC4 Beta workaround for cshtml/vbhtml editor’s long pause

VS2010 SP1 + MVC4 Beta workaround for cshtml/vbhtml editor’s long pause

  • Comments 8

We shipped MVC4 Beta recently, and found it may cause VS2010 sp1 cshtml/vbhtml editor to pause for a long time after typing snippet, JavaScript inside cshtml or vbhtml files, if the MVC4 application has just been created and has not been compiled.

The workaround is to compile the project to get the assemblies in the bin folder.  Note, if you clean the project which removes the assemblies from the bin folder, the editor problem will come back.

We are actively working on a resolution for this issue for next release.  Thanks.

Best regards.

Xinyang Qiu

Web Platform and Tools Team

3/6/2012 update: If you meet VS 11 Beta razor editor crash issue, please check http://blogs.msdn.com/b/webdevtools/archive/2012/03/06/visual-studio-11-beta-razor-editor-issue-workaround.aspx.

Leave a Comment
  • Please add 6 and 5 and type the answer here:
  • Post
  • Thank you very much!

    I have a stack overflow entry about this exact item:

    stackoverflow.com/.../9449808

  • I just install mvc 4 beta, then i just install LocalDb

    now it crash everytime i type if(

  • Hi, vantsuyoshi, with the limited information, we cannot repro the issue you encountered.  Could you please go to connect.microsoft.com/VisualStudio and log a bug there, providing detailed steps?  This way, we can do a formal process tracking down and resolve the problem that you are facing.  Thank you.

    Xinyang Qiu

    Web Platform and Tools Team

  • how to create three tire arictuchr in gridvew in update code?

  • Hi, vijay,

    Please take your detailed question to http://forums.asp.net/.  

    Thanks.

    Xinyang Qiu

  • I've tried all the options on this site and from other post and VS2010 still locks up the editor and then crashes.

  • Any update about the release that will fix this problem?

    I'll try the steps for VS2010 + SP1 when I reach home but if it doesn't work I'll have to migrate the project to MVC3, and that is painful :(

  • Thanks for reading the post.  There is one comment stating "The workaround doesnt work for me".  If you are in this situation, could you please click "Email Blog Author" link and contact us directly?  You can also email xinqiu at Microsoft dot com directly as well.  We'll need detailed repro step from you as it sounds like a different problem from this one.

    Thank you very much.

    Xinyang Qiu

    Web Platform and Tools Team

Page 1 of 1 (8 items)