C
C#14mo 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?
2 Replies
KamiGami02
KamiGami0214mo ago
Just deleted favicon, hopefully that doesn't break anything
Accord
Accord14mo ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.