Skip to content

Automatically hook up the source generator in Misc Files #11833

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

Open
davidwengier opened this issue May 7, 2025 · 0 comments
Open

Automatically hook up the source generator in Misc Files #11833

davidwengier opened this issue May 7, 2025 · 0 comments

Comments

@davidwengier
Copy link
Member

When a Razor document is a misc file, we add it as an Additional Document correctly, but that doesn't make the source generator work. We need to also reference the source generator in the project that is created for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants