0

I've created a new ASP.NET Core Web Application project via the File/New Project mechanism in VS2015. I open up _Layout.cshtml and I see red all over the place.

It seems Resharper does not recognize things like ViewData, RenderSection, Model, etc..

Is there anyway to fix this? P.S. I should mention that I tried all the usual suspects (clearing cache, suspend/restart Resharper, etc...)

enter image description here

P.P.S For other folks with this problem, I just disabled Resharper for .cshtml extension per the winning answer for this question.

Community
  • 1
  • 1
AngryHacker
  • 59,598
  • 102
  • 325
  • 594
  • What makes you think this is R# and not just VS2015? – DavidG Feb 24 '17 at 23:47
  • @DavidG Because if I disable Resharper, everything is recognized and I get intellisense. – AngryHacker Feb 24 '17 at 23:48
  • You are probably experiencing issues since resharper 9.2 is over 1.5 years old and .NET core is a rapidly changing framework at the moment. I have a sneaky feeling that R# is simply out of date. https://resharper-support.jetbrains.com/hc/en-us/articles/207242355-Where-can-I-download-an-old-previous-ReSharper-version- – Tommy Feb 25 '17 at 04:36

0 Answers0