This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product. Otherwise - post away!
I'm having the same issue. I reinstalled Visual Studio and it seemed to work for a while but no the error is back. It started happening after I pasted some code into a scss document. I got a error during pasting about index being out of bounds and after that when I try to open a normal css file I get a error. This happend even after restarting Visual Studio.
Thanks for reporting this. Unfortunately, we haven't yet been able to reproduce it, and we don't register any kind of interest in CSS files, so we're not sure where to start investigating.
You can run Visual Studio with logging using:
Could you do this, then trigger the error and then exit? You will then find a file named ActivityLog.xml in %AppData%\Roaming\Microsoft\VisualStudio\10.0 -- could you send us this file please (you can attach a file via the Options tab). Thanks!
pekkah, can you remember what kind of code you were pasing into the SCSS document when the error started occurring? Was it CSS, SCSS, something else?