Visual Studio 2008 IDE freezes/crashes when opening .aspx file with css included

Posted by Kai on Stack Overflow See other posts from Stack Overflow or by Kai
Published on 2010-05-17T22:45:16Z Indexed on 2010/05/17 22:50 UTC
Read the original article Hit count: 409

Filed under:
|
|

I have read a lot of questions about Visual Studio 2008 crashing on viewing some source files. However, I still can't fix this problem. Visual Studio (SP1) runs fine until I try and view .aspx source files with the lines

<style type="text/css">
</stlye>

anywhere in them, upon which it freezes (i.e is totally unresponsive) and I have to use the task manager to shut it down. I have systematically deleted and re-included all other code and it comes down to these two lines, which is very confusing. Sometimes it happens as soon as the lines are added, sometimes it doesn't freeze until I build the solution with any of the problem pages open. I can add external style sheets, and it only started recently. I tried the event viewer logs but I don't really understand how to use them to find out about this. I had Resharper 4.5 installed and have since uninstalled it, and do not have anything else installed. Is there any way I can

a) find out what's happening,
b) fix it without reinstalling vs?

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about aspx