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.
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.
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.
@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?