adospace / reactorui-maui

MauiReactor is a MVU UI framework built on top of .NET MAUI
MIT License
552 stars 45 forks source link

ScaffoldGenerator error on behavior #231

Closed cris-m closed 2 months ago

cris-m commented 2 months ago

After recent upgrade in CommunityToolkit from 8.0.0 to 8.0.1 I am having problems with Behavior. I am getting the following error:

MauiReactor.ScaffoldGenerator.ScaffoldSourceGenerator/BytePesa.Behaviors.Native.IconTintColorBehavior.g.cs(16,55): error CS0246: The type or namespace name 'IGenericBaseBehavior' could not be found (are you missing a using directive or an assembly reference?)

MauiReactor.ScaffoldGenerator/MauiReactor.ScaffoldGenerator.ScaffoldSourceGenerator/BytePesa.Behaviors.Native.IconTintColorBehavior.g.cs(21,62): error CS0246: The type or namespace name 'BaseBehavior<,>' could not be found (are you missing a using directive or an assembly reference?)

MauiReactor.ScaffoldGenerator/MauiReactor.ScaffoldGenerator.ScaffoldSourceGenerator/BytePesa.Behaviors.Native.StatusBarBehavior.g.cs(16,51): error CS0246: The type or namespace name 'IGenericBaseBehavior' could not be found (are you missing a using directive or an assembly reference?)

Here the the IconTintColorBehavior

[Scaffold(typeof(CommunityToolkit.Maui.Behaviors.IconTintColorBehavior))]
partial class IconTintColorBehavior { }