Open masq6r opened 6 months ago
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) The following global.json fixes it, for now.
{
"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 global.json
being set.
I have the same problem with 8.0.403
in Linux
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.