C#C
C#3y ago
KamiGami02

❔ "BLAZOR102: The scoped css file '~\Layout.cshtml.css' was defined but..." How do I fix this error?

I've been messing around with ASP.NET and trying to make a new web app, originally I was having issues trying to include a Scripts folder for my javascripting needs, that's when I started trying to learn about Static Files in the wwwroot.

Added this line in my property group for the csproj, <EnableDefaultContentItems>false</EnableDefaultContentItems>
And suddenly, it crashed.
When I remove it, it throws a separate error for two versions of favicon.ico with "incompatible asset kinds".

Help, please?
Was this page helpful?