While using Visual Studio (SP1), everything works perfectly until I attempt to view .aspx source files containing the lines
<style type="text/css>
</stlye>
Once those lines are present, it freezes and becomes unresponsive, forcing me to close it via task manager.
I've seen numerous posts about Visual Studio 2008 crashing when viewing certain source files. Despite trying various solutions, nothing seems to resolve this issue.
After systematically removing and re-adding code, I've discovered that these two lines seem to be causing the problem, which is quite perplexing. The freezing can occur as soon as the lines are added or sometimes only after building the solution with affected pages open. Oddly enough, adding external style sheets worked fine until recently. I had Resharper 4.5 installed but have since uninstalled it along with any other additional plugins.
This issue appears to affect others using the same source code, even after reinstalling Visual Studio. This prompts a few questions:
- Is there any way to diagnose the root cause of this problem?
- It's baffling how simple CSS code could crash Visual Studio. Could there be another factor within my solution causing this instead?
- Could this possibly be related to installing Office 2010 on the system?
Any help in troubleshooting this matter would be greatly appreciated.
Edit: Even though I didn't find a definitive answer, switching to Visual Studio 2010 resolved the issue experienced in Visual Studio 2008. While this leads me to believe it may be a bug in Visual Studio, I'm open to more insights from anyone facing similar problems or shedding light on this situation!