Razor generated files don't appear in Solution Explorer
Author: davidwengierCreated Jun 19, 2025Updated Sep 16, 2026
LabelsArea-IDEArea-Razor
Version Used: latest
Steps to Reproduce:
- Open a Razor project with cohosting turned on
- Expand the dependencies node to see the Razor source generator
Expected Behavior:
Should be able to see the files the source generator is generating
Actual Behavior: Nuffin.
Source: dotnet/roslyn