© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
5 replies
Destructor_Ben

❔ Source Generators stopping Hot Reload in VS 2022

Got a source generator (I didn't write it, someone I'm working with did tho) and it works in VS with Intellisense and during build. However, if I run the program, intellisense stops recognizing the generated files, so if I were to use breakpoints or try to hot reload, I would have to rebuild. Don't know if it can be fixed or not, also don't know particularly much about source generators themselves either. Google hasn't yielded any results after some quick searches.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ VS 2022 Hot Reload disabled
C#CC# / help
3y ago
Source generators VSCode
C#CC# / help
2y ago
Source Generators In Nuget Packages
C#CC# / help
3y ago
❔ Visual Studio 2022, Hot Reload Not Recognizing changes in code.
C#CC# / help
3y ago