-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Open
Labels
Milestone
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
When adding assets to the wwwroot
folder using <Content Link=... />
, they are correctly fingerprinted and recognized through @Assets
, but they return blank content:

This does work correctly after publishing
Expected Behavior
Assets added through <Content Link=.../>
are fingerprinted and the correct content is returned
Steps To Reproduce
Repro added here:
https://github.com/TomGathercole/contentlinkrepro
- Run
dotnet new blazor -ai -int Auto
- Add a new css file outside of wwwroot
- Add a
<Content Link=... />
inside wwwroot, and add the styles toApp.razor
using@Assets
syntax
Exceptions (if any)
No response
.NET Version
No response
Anything else?
No response
kevin-osborne