Strawberry Shake: All auto generated classes exist in duplicate #5113
Replies: 3 comments 3 replies
-
The only way I have been able to get around this is to set emitGeneratedCode to false. |
Beta Was this translation helpful? Give feedback.
-
I've been fighting with the exact same thing. Pretty annoying if you don't want to have to run the source generators on every build, which is what |
Beta Was this translation helpful? Give feedback.
-
I can highly recomment to update to version 13 of Strawberry shake. Because Blazor is also using source generators, we have decided to migrate away from them and go back to the good old MS Build solution. The generation of the code is now rock solid. It should now just work. There is also not really a point anymore of emitting the generated sources, as this is just a build artefact that does not belong into source control. checkout https://chillicream.com/blog/2023/02/08/new-in-hot-chocolate-13#strawberry-shake |
Beta Was this translation helpful? Give feedback.
-
I have an odd issue after following the getting started instructions for console applications. This is on VS 2022 .net 6.0. It looks like all the generated classes are in there twice.
config
rc (all defaults other than adding the namespace)
Beta Was this translation helpful? Give feedback.
All reactions