© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
19 replies
Binto86

Visual Studio doesn't work as expected with source generators [Answered]

I wanted to give source generators a try, i followed Microsoft tutorial and everything worked as expected, but than i changed some things, and the code works as i expected, but visual studio is apparently still thinking i am using the old implementation and gives me errors, but when i actually run it, it works just fine.
unknown.png
unknown.png
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

AvaloniaUI. PublishAot doesn't work with Visual Studio 2026
C#CC# / help
2mo ago
Visual Studio integration with Docker Compose not functioning as expected.
C#CC# / help
13mo ago