Today I installed .NET Core framework and when I created a new ASP.NET Core project I noticed that Resharper marks almost all razor keywords such "Html", "Section" and "ViewData" as "cannot resolve symbol" and all the quick actions regarding when editing those keywords are unavailable. Also it marks almost all html tags that come with ASP.NET as cannot resolve as well. I am sure that bug comes from Resharper since disabling resharper fixes it. I tried:
I really like Resharper and since I work on other projects side by side ASP.NET project, I really rather not disable Resharper entirely and if you can't think of any solution for this compatibility problem, I would be thankful if you can tell me how to disable Resharper on cshtml files only, cuz all these red keywords are really annoying.
Update: I found out how to disable inspection on cshtml files according to https://www.jetbrains.com/help/resharper/2016.1/Code_Analysis__Configuring_Warnings.html
After downloading EAP 19 from the following link, I no longer have this problem.
https://confluence.jetbrains.com/display/ReSharper/ReSharper+2016.2+EAP
Here's the bug report that was used to fix this https://youtrack.jetbrains.com/issue/RSRP-458852#u=1463700018013
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With