I've been testing some c# code in visual studio and when I opened visual studio this morning my project was full of red lines.
- Demanding class declarations to be closed with End class
- Red lines under semicolons
- Variable declaration without an AS clause
- Ctrl+K, CTRL+C Gives visual basic comments E.g. 'green text
- //C# comments get red squiggly lines under them.
These are clearly visual basic errors which means for some reason it's trying to make my C# into VB.
I've been trying to find out what on earth to search for but no luck so far.
When I build the project there is no problem. Just the syntax errors in visual studio with red squiggly lines.