Skip to content
Discussion options

You must be logged in to vote

Hello, thanks for the suggestion. I had already added RazorRuntimeCompilation as false and PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Condition="'$(RazorRuntimeCompilation)' == 'true'".

But when looking at those settings I noticed the following setting.
PreserveCompilationReferences as true

I removed this and then no more errors...

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@RobinC4
Comment options

@ns8482e
Comment options

@ns8482e
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by RobinC4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants