Reputation: 138
I am trying to use the Razor framework within an ASP.NET Core project (.NETCoreApp 1.1), however, after retrieving the package from Nuget, the reference is not recognized by VS.
I'm rather unfamiliar with the framework, is there something I am missing ? All Razor MVC generated pages work, although they are not recognized as so by Visual Studio. Hence the following happens:
Can you please help me solve this issue?
Upvotes: 2
Views: 184
Reputation: 138
Thanks to the first answer from A.T., Resharper got an error triggered and it turned out that it was causing the issue. To solve this issue, Pause and then Resume resharper (in Tools->Options->Resharper)
Upvotes: 1
Reputation: 26312
you might need to add these references in your project,
Microsoft.AspNetCore.Mvc.TagHelpers
Microsoft.AspNetCore.Razor.Tools
Upvotes: 1