CustomElements do not serve Blazor WASM files when a custom debugging environment is used. #61587
Labels
area-blazor
Includes: Blazor, Razor Components
Author: Migration Bot 🤖
The issue was created by a issue mover bot. The author may not be the actual author.
✔️ Resolution: Answered
Resolved because the question asked by the original author has been answered.
question
Status: Resolved
This issue has been moved from a ticket on Developer Community.
We have an old ASP.NET Core MVC project, and we would like to gradually migrate to Blazor WASM. I followed this guide.
The issue can also be tested using the code in this repository.
Everything works fine until we try to add a custom environment variable to launchsettings.json, such as "Local". I have, of course, created the corresponding appsettings. Local.json.
In this configuration, Blazor WASM files are not served during debugging. However, it works fine when using the "Development" environment.
You can try it yourself with the solution in the link above. Is this a bug, or am I doing something wrong? I tested it on .NET 8 and .NET 9.
Original Comments
Feedback Bot on 3/21/2025, 10:40 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
The text was updated successfully, but these errors were encountered: