Replies: 2 comments 17 replies
-
Source generator output is determined by your code and the version of generator. New SDK brings new generator and the output will deterministically be new version.
The generators are running fine. It's just outputting code that doesn't compile fine. The output of different generators are independent. Can you paste some of your data models that triggers bad generated code? |
Beta Was this translation helpful? Give feedback.
-
@huoyaoyuan even this below cause it to fail. i even removed everything else except for this one below and yet still error.
|
Beta Was this translation helpful? Give feedback.
-
so i have been working on a wpf project since dotnet 8.0.100 preview 7. today i just upgraded my sdk into dotnet 8.0.200 and now my json source generators are complaining with
CS0102
andCS0111
with 0 code changes. my system text json package version is on 8..0.2. i tried cleaning the solution, deleting bin and obj, rebooting the pc, but none works. any idea on how to fix it? the only way to make the project run again now is to remove every single one of the json source generators. interestingly i also have mvvm toolkit source generator and regex source generator with 0 issues.Beta Was this translation helpful? Give feedback.
All reactions