Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

neuecc
Copy link
Member

@neuecc neuecc commented Dec 9, 2024

The System.Collections.Immutable version updates Source Generators reference in Directory.Package.props.
This will cause Source Generators to stop working in Unity projects.
Therefore, we stopped updating all packages in IsAnalyzerProject.
Fix #2086

@neuecc neuecc merged commit b4822a8 into master Dec 9, 2024
3 checks passed
@neuecc neuecc deleted the fix-unity-sourcegenerator branch December 9, 2024 09:30
@neuecc
Copy link
Member Author

neuecc commented Dec 9, 2024

@AArnott For your info:
As a result, the changes that were intentionally set to 6.0.0 were lost.
It was also my fault for not leaving any comments about it.
8e2055d
This change was added (on 10/25) after the last RC (10/23), it caused an issue in the official release.
I will add a unit test later to verify if the Source Generator is working properly in Unity.

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.

Source generator doesn't work in Unity
1 participant