-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS isolation does not work #355
Comments
This is strange. I am failing to reproduce the issue (I'm on dotnet 8.0.300). |
I think its broken in 8.0.4 (just upgraded) {
"sdk": {
"version": "8.0.301",
"rollForward": "disable",
"allowPrerelease": false
}
} |
THis works on the cmdline, but fails in Visual Studio because the newest VS forces using 8.0.4xx despite |
I have the same problem with |
Okay, just to check if I have the correct reproduction: what I see is that |
It looks like I can fix this by simply always including the generated (Right now there's a condition, and it seems the VS background service doesn't detect that it has changed) |
I published v0.24.38, it should fix this. |
I followed the document and created a Bolero app but I could not make CSS isolation work because the CssScopes module is not generated.
To reproduce the issue:
dotnet new bolera-app
.link { attr.rel "stylesheet"; attr.href "HelloWorld.Client.styles.css" }
inIndex.fs
ofHelloWorld.Server
.MyApp.bolero.css
ofHelloWorld.Client
.override _.CssScope = CssScopes.MyApp
inMain.fs
ofHelloWorld.Client
, and build the whole solution in VS2022 GUI.CssScopes
is not defined.My
dotnet --version
is8.0.204
on Windows 10, Bolero, Bolero.Build, Bolero.Server are 0.23.52.The text was updated successfully, but these errors were encountered: