Custom source generator is not creating #4238
Replies: 2 comments 2 replies
-
@Sergio0694 any guidance here? |
Beta Was this translation helpful? Give feedback.
-
Hey @LeftTwixWand, it's great to see the enthusiasm for the Toolkit, and the MVVM Toolkit in particular! 😄 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I'm trying to contribute the Community Toolkit and want to create an Ioc source generator.
I want to create a source generator for simplifying dependency injection.
The main idea was taken from this repository: HarabaSourceGenerators
Instead of creating constructors for DI manually - we could just use attributes!




I really want to see it as part of the Community Toolkit, so I've created a fork of 7.1.0 release candidate with source generators for ObservableObject, ObservableProperty and ICommand.
But my IocGenerator just not initializing. Do I need to registre it somewhere?
This is my initial commit with base attributes and generator setup: LeftTwixWand/WindowsCommunityToolkit/commit/f71eeb
Beta Was this translation helpful? Give feedback.
All reactions