Everything is undefined but code can run
Hello,
I suddenly have a lot of things underlined in red in my code. And when i mouse over it says things like Mat is undefined or error: name must be a namespace name. But my program can run. Im not sure what I did. How do i fix this ?
please have a look at the faq , and try to improve your question.
You probably did... nothing. I guess you've just discovered the wonderful world of Visual Studio. I run into this "problem" several times a week. The reason is Intellisense failing to do its job, and therefore red lines appear. However, those aren't real errors, and that's why your code perfectly runs. How to solve? Restarting Visual Studio often does the trick. Sometimes simply re-building the solution works too.