AvaloniaUI / Avalonia.Xaml.Behaviors

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

Update package to 11.0.4 please #142

Closed daz10000 closed 11 months ago

daz10000 commented 11 months ago

I normally don't sweat small version changes, but I manage all my avalonia dependencies with a single Directory.Build.props variable to keep them in lock step because the platform seems to be changing pretty quickly still. This is one of the few libs I use that's still trailing. Pretty please if it's not too much trouble, bump to 11.0.4 deps?

Thanks!

wieslawsoltes commented 11 months ago

Its not necessary to update this package, if you update Avalonia in your project it will use that version .

daz10000 commented 11 months ago

Thanks for the quick reply. I am not sure I follow the solution though. My project uses this construct to keep all avalonia pieces synchronized at the same version

image

If I use the same approach for Behaviors, it breaks because there isn't an 11.0.4. Of course I can hard code this one, but then it's a maintenance issue every time I advance. If it's a big deal to update, my workaround is fine for now. Since the avalonia versions change quickly, this keeps me sane. I'm just following the example that came with the dotnet avalonia cross platform template.

wieslawsoltes commented 11 months ago

Thanks for the quick reply. I am not sure I follow the solution though. My project uses this construct to keep all avalonia pieces synchronized at the same version

image

If I use the same approach for Behaviors, it breaks because there isn't an 11.0.4. Of course I can hard code this one, but then it's a maintenance issue every time I advance. If it's a big deal to update, my workaround is fine for now. Since the avalonia versions change quickly, this keeps me sane. I'm just following the example that came with the dotnet avalonia cross platform template.

Behavior package is compatible with never versions of Avalonia for all 11.0.x releases so we don't have to update it each time new version of Avalonia is released until breaking changes are introduced e.g. 11.1 released. Also note there might be version differences like Behaviors can have patch version different than Avalonia.