Runtime compilation does not work with scoped CSS
Open
area-mvc
bug
feature-runtime-compilation
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 290
Description
**Repro Steps**
1. File > New project > ASP.NET Core Web App > .NET 6.0 > None
2. Install the package Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation in Manage NuGet Packages
3. Open Program.cs, add .AddRazorRuntimeCompilation() to the 4 line
builder.Services.AddRazorPages().AddRazorRuntimeCompilation();
4. Run the project (F5) and verify you get the default page shows up in the browser
**Actual Result**

**Expected**

Contributor guide
Assessment
This issue has not been assessed yet.