-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Prism.Avalonia Library #3127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Prism.Avalonia Library #3127
Conversation
Thanks for the PR. I'll try to review this as soon as I can. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
noticing this is largely just reusing what currently exists in the Prism.Avalonia project. This should start removing duplicated code, similar to what we've done with Prism for Uno.WinUI using linked code from the Prism.Wpf project where possible. The goal should be to have a minimally different API surface and eliminate duplicate code as much as possible.
btw be sure to update the CI Builds. It should be pretty much copy/paste and change the file names... if you need some help on it let me know.
|
Will do. @dansiegel, when you're free, mind if we sync up on Teams? |
It'll have to be next week but shoot me an email with some times that work for you and we can set something up |
Sounds great. Thanks again, Dan. |
You'll want to:
<When Condition="$(IsAvaloniaProject)">
<PropertyGroup>
<DefineConstants>$(DefineConstants);AVALONIA</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Using Include="Avalonia" />
<Using Include="Avalonia.Controls" />
<Using Include="Avalonia.Controls.ApplicationLifetimes" />
<Using Include="Avalonia.Controls.Primitives" />
<Using Include="Avalonia.Interactivity" />
<Using Include="Avalonia.Markup.Xaml"/>
<Using Include="Avalonia.Metadata" />
<Using Include="Avalonia.Threading" />
<Using Include="Avalonia.Styling" />
<Using Include="Avalonia.VisualTree" />
</ItemGroup>
</When>
|
Dan, Thanks for the heads up and suggestions to get this puppy rolling. I'll try to get to it this week. I'm going to upgrade the other repository first to get the GA release of Prism.Avalonia v9.0.537, followed by copying over results to our combined branch. Overall, this should be pretty quick process since the delta between |
@dansiegel thanks again for the sync-up yesterday! Looking forward to the 9.1 release |
…udes Avalonia as an compatible framework
Was tracking down, failed test in Prism.Core. It's the classic case of, "it works on my machine", using the same build command. Still trying to get to the bottom of it to reproduce the error. Perhaps I'm chasing up the wrong tree. dotnet test PrismLibrary_Core.slnf --configuration Release --logger GitHubActions --blame-crash --collect:"XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover --no-build
...
Passed! - Failed: 0, Passed: 277, Skipped: 0, Total: 277, Duration: 3 s - Prism.Core.Tests.dll (net6.0) |
…h Prism.DryIoc.Wpf
… namespace (note: highly dependent on Implicit Using's auto-gen of `global using DependencyObject = global::Avalonia.AvaloniaObject;`)
…vigation.Regions.Behaviors
…y, and Modularity namespaces. With minor Prism.WPF cleanup.
Hi @dansiegel & @brianlagunas, Code reduction completed 👍 I could use a 2nd set of eyes on the build machine's failing test, Let me know if there's anything else I can do. Talk to you soon, |
@DamianSuess it looks like the build failed because of a sign tool and not any test failures. If you're happy with the state of the PR, I can look into merging it. Then we can deal with any signing issues afterwards. |
Hi @brianlagunas, Thank you for getting back to me on this item. I'd appreciate it if you don't mind taking the time. I'm really looking forward to this transition! Whenever you and Dan are available, I'd like to set up a call with you two on any other steps moving forward. Take care, |
May I ask when we can see the final version after the merger? |
Guys, its been two months since last message. |
@the-black-wolf we have been focusing our efforts on other things at the moment. We haven't forgotten about this, it's just a low priority at the moment. Once we have our internal efforts done, we'll get back to this. |
If you need anything, feel free to let me know 👍 happy to help |
Dan or Brian, could you take a look at the failed builds? I'm seeing that the tests are passing for Avalonia, however, it's failing at the "Sign NuGet Package" step ( Is there anything I could do on my end? i.e.
Thank you, |
Yeah, I'll try to get some time this week. I've been meaning to review this PR anyways to finally get it merged. My damn day job is just keeping me too damn busy 😄 |
Fully understand @brianlagunas . Here, have one on me 🍺 |
Description of Change
Adds fixture for Prism.Avalonia using Avalonia v11.1.x. Pairing together these two awesome libraries under one house.
API Changes
None
Behavioral Changes
Allows users to utilize the cross-platform framework Avalonia for desktop applications.
PR Checklist