AvaloniaUI / Avalonia.Xaml.Behaviors

Port of Windows UWP Xaml Behaviors for Avalonia Xaml.
MIT License
385 stars 46 forks source link

Nightly build fails #120

Closed mysteryx93 closed 1 year ago

mysteryx93 commented 1 year ago

Trying to run an app with the nightly build throws this error

<PackageReference Include="Avalonia" Version="11.0.999-cibuild0030725-beta" />
<PackageReference Include="Avalonia.Xaml.Interactions" Version="11.0.999-build20230221-01" />

System.TypeInitializationException: The type initializer for 'Avalonia.Xaml.Interactions.Core.EventTriggerBehavior' threw an exception. ---> System.MissingMethodException: Method not found: 'Avalonia.StyledProperty1<!!1> Avalonia.AvaloniaProperty.Register(System.String, !!1, Boolean, Avalonia.Data.BindingMode, System.Func2<!!1,Boolean>, System.Func`3<Avalonia.AvaloniaObject,!!1,!!1>)'.

wieslawsoltes commented 1 year ago

https://github.com/wieslawsoltes/AvaloniaBehaviors/blob/8fba4b9fcf952f8a378c84bd80fbb0b893ec33a9/build/Avalonia.props#L4

wieslawsoltes commented 1 year ago

Use 11.0.999-cibuild0030320-beta

mysteryx93 commented 1 year ago

Unfortunately, FluentAvalonia preview5.1 is targetting 30643-beta so that's not possible...

Any idea when this issue will be solved?

mysteryx93 commented 1 year ago

Well I can still use FluentAvalonia-preview5

wieslawsoltes commented 1 year ago

Avalonia.Xaml.Behaviors.11.0.999-build20230226-01