adospace / reactorui-maui

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

IGenericPlatformBehavior and PlatformBehavior reference error when using IconTintColorBehavior #174

Closed cris-m closed 10 months ago

cris-m commented 10 months ago

when using IconTintColorBehavior example from the documentation, I get the following error:

MyTestApp/MauiReactor.ScaffoldGenerator/MauiReactor.ScaffoldGenerator.ScaffoldSourceGenerator.Behaviors.Native.IconTintColorBehavior.g.cs(16,55): error CS0246: The type or namespace name 'IGenericPlatformBehavior' could not be found (are you missing a using directive or an assembly reference?) [MyTestApp.csproj::TargetFramework=net7.0-ios]
MyTestApp/MauiReactor.ScaffoldGenerator/MauiReactor.ScaffoldGenerator.ScaffoldSourceGenerator.Behaviors.Native.IconTintColorBehavior.g.cs(21,62): error CS0246: The type or namespace name 'PlatformBehavior<,>' could not be found (are you missing a using directive or an assembly reference?) [MyTestApp.csproj::TargetFramework=net7.0-ios]
MyTestApp/MauiReactor.ScaffoldGenerator/MauiReactor.ScaffoldGenerator.ScaffoldSourceGenerator.Behaviors.Native.IconTintColorBehavior.g.cs(31,56): error CS0540: 'IconTintColorBehavior<T>.IIconTintColorBehavior.TintColor': containing type does not implement interface 'IIconTintColorBehavior' [MyTestApp.csproj::TargetFramework=net7.0-ios]
MyTestApp/MauiReactor.ScaffoldGenerator/MauiReactor.ScaffoldGenerator.ScaffoldSourceGenerator.Behaviors.Native.IconTintColorBehavior.g.cs(21,113): error CS0535: 'IconTintColorBehavior<T>' does not implement interface member 'ICustomDataTemplateOwner.GetVisualNodeForItem(object)' [MyTestApp.csproj::TargetFramework=net7.0-ios]
cris-m commented 10 months ago

Fix after upgrading Reactor.Maui to version 1.0.148