-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
Support all .NET Framework versions? #55
Comments
As I tried to port my project to .NET Core 3.0, mvvm-dialogs was one of the many assemblies that did not target either .NET Core or .NET Standard, which prevented the porting. |
Hi virzak! Yes, the upcoming .NET Core 3.0 is one of the environments we don't support, but let me see if I can get a grasp of the amount of work required to support it. Do you have any good documentation you can point me towards, helping me on my way? |
You can get the preview SDK from here: And run You need to make 3 changes:
And it should compile right away. |
And need to wait for multitargeting in order to not produce two versions of the library |
Thanks! I'll get right on it as soon as I finish what I'm currently working on. You ought to expect something in the upcoming week. |
@virzak I've hacked up a pre-release preview of the .NET Core 3.0 support, you can find it here on nuget.org. For now I'm satisfied. When .NET Core 3.0 finally ships we'll be able to let MvvmDialogs support it. Best of lucks with validating your own application for .NET Core 3.0 support! |
.NET Core 3.0 is now released |
Amazing!! |
I'm unfortunately on holiday this week and next, but will after that start the work to support .NET Core 3.0. I cant wait to get started |
I've now finally published a beta1 on NuGet. Would it be to asking to much if you where to try it out and determine whether it fits your needs? |
All dialogs in my biggest application that uses this library work right out of the box with the latest beta. I briefly went through examples and discovered at least one bug. I can make a separate issue with suggestions over the weekend if you'd like. Will briefly mention here though: The bug I found: in Demo.ActivateNonModalDialog.Core you can only show the time dialog once, because the
Recently I replaced SimpleIoc with Microsoft.Extensions.DependencyInjection since it plays better with Polly (Microsoft.Extensions.Http.Polly) and EF Core. In general there seems to be very little activity in mvvmlight repo, which is a shame cause it is awesome. |
Perfect, then I'll start the process of releasing an official version.
I would definitely like that. When creating the new .NET Core samples, I noted that the can-execute function wasn't triggered as it does in .NET Framework. Or I made a mistake when I copied the samples and migrated them to .NET Core. Whatever it is, I am eager for your contribution. Thank you very much for your support!
I'll look into that IoC container. I opted to chose sample dependencies that would be familiar to new WPF developers. I'll look into the popularity of Microsoft.Extensions.DependencyInjection. If it gains traction over SimpleIoc I'll have no problem doing the switch. |
v6.0.0 is now officially released. I'll close this issue and if we find any problems we'll open new issues. |
I think I've found another bug in the .NET Core samples. The command's can-execute method on some samples is not automatically invoked, as it is using MVVM Light in .NET Framework, but has to be invoked by me. |
Investigate whether we should support all framework versions. Lets see how
Newtonsoft.Json
is supporting different versions.For more on specifically .NET Core 3:
The text was updated successfully, but these errors were encountered: