Closed jez9999 closed 4 years ago
I managed to fix this by using Project Sdk="Microsoft.NET.Sdk"
in my .csproj file, and switching target framework from netstandard2.1
to netcoreapp3.1
- looks like you have to use .NET Core rather than .NET Standard for it to work properly.
@jez9999 What version of VisualStudio2019 are you using? Just wondering. Closing issue as you indicated its resolved. Happy to look at a full repro and explain whats happening/learn from the situation myself.
Although my class library compiles and builds, I get a lot of annoying IntelliSense errors for my .cshtml template files I'm using for RazorLight, such as:
.. etc. How can I get rid of these errors? Is there a problem with RazorLight here?