C
C#2y ago
kami

❔ "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
kami
kamiOP2y ago
Just deleted favicon, hopefully that doesn't break anything
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server