Home > Uncategorized > MVC 4 Beta Project Templates – Visual Studio Freezes on Adding Script tags to view

MVC 4 Beta Project Templates – Visual Studio Freezes on Adding Script tags to view

I’ve been playing around with the new WebApi that was released with MVC 4 Beta and have come across what seems like a bug.

So far I’ve been able to reproduce this consistently on two separate machines.

The issue occurs when adding script tags to a view, it seems that visual studio hangs for at least 30 seconds.

Has anyone else been playing with the WebApi and noticing this issue?

UPDATE: this seems to happen in any MVC 4 project template and, in particular, when hitting the carriage return.

About these ads
Categories: Uncategorized Tags:
  1. May 4, 2012 at 11:57 am

    On careful analysis of your post it seems that the root cause of the issue is that you appear to be using a type writer.

  2. September 28, 2012 at 10:29 pm

    I am having the same issue, it is only happening on 3 of 6 production machines, but worked on our DEV, Test, and Stage machines and 2 devs laptops (8 out of 11 working) … not a fun thing to hit only on production. It appears pulling in jquery bundle specifically is causing the issue for me (process of elimination removing pieces from the view) and the rest are working fine. Please follow up if you find a solution to this.

  3. September 29, 2012 at 4:19 am

    @matt, this was only an issue inside Visual Studio 11 Beta, it turned out there was an issue with conflicting settings between VS 2010 and 11. This issue has been resolved now. Can you elaborate a little more around the environment and the exact issue you are experiencing?

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

%d bloggers like this: