I was looking for SO and could not find this question before, but I cannot believe that I am the only one who works with it. If this is a duplicate, please give me an original question.
In VS2008, I have ASP.NET MVC markup in the script section on some of my pages. I end up getting the “expected expression” warning when marking up ASP.NET MVC, even if jQuery / JavaScript in the previous code is valid. This only happens when marking up.
This does not interfere with the rendering of the page, everything works fine. This is more annoying than anything else. I installed VS2k8 SP1 along with the Intellisense fix, and this is still happening. This also happens if I run R # 4.5 or 5.0 EAP.
Suggestions or should I just choose my battles when it comes to VS 2008?
Screenshot: My apologies, I could have sworn I added a screenshot to this question.
http://www.twitpic.com/z6bxj
source share