ReSharper, Razor, MVC
Is there any way to disable the MVC integration in ReSharper 5? I'm using the Razor view engine, and my controllers are polluted with really annoying red error marks for all my "return View()" lines because it thinks I don't have a view (I do, it's a Razor view). I'd just as soon completely disable the ASP.NET MVC integration. Is this possible?
Please sign in to leave a comment.
Kirk Woll wrote:
Yep, it's possible.
Look at ReSharper->Options->ASP.NET->Other->Enable ASP.NET MVC References.
You can also try ReSharper 6.0 EAP builds, it recognizes Razor view references.
Latest builds will also parse views themself.
Stupid me, it was right there in Options | ASP.NET | Other | Enable ASP.NET MVC References
Thanks for the response, I didn't know the latest EAPs support it. I'll give it a try.