Note that there are some explanatory texts on larger screens.

plurals
  1. POVisual Studio 2010SP1 locks up when typing class=" in MVC3 project using razor
    text
    copied!<p>Sometimes, not always, Visual Studio locks up when typing <code>class="</code> on any element. This doesn't happen all the time and I can't seem to identify a pattern other than VS has usually been running for a while.</p> <p>Also, I have ELMAH installed and set to email me on exceptions. Relatively often, although not always I get an email when typing <code>class="</code> like below. Why would it be trying to start the project when typing class?</p> <pre><code>System.Web.HttpException: The controller for path '/Views/TechSupport/@Url.Content(' was not found or does not implement IController. </code></pre> <p>To resolve the issue I restart Visual Studio. Sometimes the problem persists and I need to restart it again. Usually it works properly at that point, without the above ELMAH email. If not then I reboot.</p> <p>This is my only MVC project, so I don't know if it's specific to this project or not. It did seem to happen very early on in the development process though. This only happens when I type class=", nothing else triggers a crash/lockup.</p> <p><strong>EDIT - ADDITIONAL INFO:</strong> For some reason, when I just typed class=" an error dialog box popped with the message <br/> <code>Cannot load "c:\Progra~1\MICROS~2.0\Common7\Packages\vwd\mso.dll"</code><br/> When I click OK I get a second dialog box that says <br/> <code>Visual Studio has encountered an exception. This may be caused by an extension.</code><br/> It then goes on to suggest I use the /log parameter when start VS, which I will be trying now.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload