mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
ASP.NET fails to generate CSS files in Electronize /watch mode #947
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pawl0wski on GitHub (Apr 19, 2024).
When I use /watch, ASP.NET doesn't generate CSS files from *.razor.css files. This also happens when I don't use /watch, but it's occasional.
During a regular electronize start, it seems to happen very randomly. Sometimes when I add a random line of code, it suddenly fixes itself.
First scenario. When i use
electronize start /watchSecond scenario. When i create new / move razor file.
It's very difficult to reproduce this on a new project because it happens 'randomly'. I've simulated how it looks in my main project. Basically, ASP.NET seems to not recognize the .css file when I run electronize start. However, if I open the project using dotnet run, the CSS is loaded.
If I gather more information about the second issue, I will edit it immediately.
Steps to Reproduce first scenario:
dotnet new blazorelectronize start /watch@FlorianRappl commented on GitHub (Oct 31, 2025):
Outdated - use
ElectronNET.CoreandElectronNET.Core.AspNet.See Wiki / What's New.