Skip to content
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

Rewrite ISourceGenerator into IIncrementalGenerator #148

Merged

Conversation

thomhurst
Copy link
Contributor

ISourceGenerator is the old (and slower) way of generating source files and can come with severe performance issues while writing code in your IDE.

IIncrementalGenerator is the newer way to generate source files, with better performance due to how it works under the hood, detecting changes etc.

I've tried to keep the class generation code as much the same as possible.

@thomhurst
Copy link
Contributor Author

@mcintyre321 The new source generator needs the .NET 6 SDK/Compiler in order to build successfully.
The current build is using .NET 5.0 which is deprecated now too.

I obviously don't have access to your build agent/pipeline. Are you able to upgrade the build to use the .NET 6 SDK?

@thomhurst
Copy link
Contributor Author

@mcintyre321 do you still maintain this package?

@mcintyre321
Copy link
Owner

mcintyre321 commented Jun 12, 2023 via email

@thomhurst
Copy link
Contributor Author

If we can get it building the tests should demonstrate that it's behaving much the same

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

Successfully merging this pull request may close these issues.

2 participants