Caliburn.Micro icon indicating copy to clipboard operation
Caliburn.Micro copied to clipboard

.net Maui support

Open vb2ae opened this issue 3 years ago • 11 comments

Add .net Maui support

vb2ae avatar Nov 22 '21 19:11 vb2ae

@vb2ae and @KasperSK Is your intention to add a package like Caliburn.Micro.Xamarin.Forms to support MAUI? If so has there been any progress?

gerfen avatar Dec 17 '21 17:12 gerfen

Hi @gerfen yes the intention is to make a Caliburn.Micro.Maui Package. As for the progress I have a version that works on Android and is currently implementing the windows version, iOS and macOS will follow that I have some code cleanup to do then I will make a PR and hopefully we can get a prerelease package out.

KasperSK avatar Dec 21 '21 09:12 KasperSK

@vb2ae and @KasperSK Hi, any news about the support for MAUI? We are using Caliburn in two Xamarin.Forms apps, but we want to migrate them to MAUI.

From what I understood, Caliburn works for MAUI.Android, but the other platforms are still pending. One of our apps is Android only, so that's fine, but the other one also needs iOS.

Is there any timeline to support MAUI?

felipemomm avatar Jun 06 '23 09:06 felipemomm

@felipemomm There is beta version out there that works with ios and windows also have not tested tizen. https://www.nuget.org/packages/vb2ae.Caliburn.Micro.Maui/5.0.7-beta.gd8666d156c

vb2ae avatar Jun 06 '23 09:06 vb2ae

Great, thanks for the update!

felipemomm avatar Jun 06 '23 10:06 felipemomm

@felipemomm as @vb2ae said there is the beta out all ready and I think that once we finish up with Avalonia and WinUI3 we will release version 5. So if you have any feedback to the MAUI implementation we would love to hear them :)

KasperSK avatar Jun 06 '23 10:06 KasperSK

We're trying to add caliburn.micro to our maui migration project. Unfortunately this already fails when adding the library by "dotnet add package vb2ae.Caliburn.Micro.Maui --version 5.0.7-beta.gd8666d156c".

Output in visual studio: info : X.509 certificate chain validation will use the fallback certificate bundle at '/usr/local/share/dotnet/sdk/7.0.304/trustedroots/codesignctl.pem'. info : X.509 certificate chain validation will use the fallback certificate bundle at '/usr/local/share/dotnet/sdk/7.0.304/trustedroots/timestampctl.pem'. info : Adding PackageReference for package 'vb2ae.Caliburn.Micro.Maui' into project '[OUR PROJECT HERE]'. info : Restoring packages for [OUR PROJECT HERE] info : CACHE https://api.nuget.org/v3-flatcontainer/caliburn.micro.core/index.json info : GET https://f.feedz.io/videolan/preview/nuget/v3/packages/caliburn.micro.core/index.json info : NotFound https://f.feedz.io/videolan/preview/nuget/v3/packages/caliburn.micro.core/index.json 45ms error: NU1102: Unable to find package Caliburn.Micro.Core with version (>= 5.0.7-beta.gd8666d156c) error: - Found 23 version(s) in nuget.org [ Nearest version: 4.0.212 ] error: - Found 0 version(s) in /usr/local/share/dotnet/library-packs error: Package 'vb2ae.Caliburn.Micro.Maui' is incompatible with 'all' frameworks in project '[OUR PROJECT HERE]'.

We also tried to run the maui sample in the "feature/Maui" branch. But this fails with another excpetion.

Any ideas are very much appreciated as this is a huge blocker for us proceeding with the Maui migration.

olliaustor avatar Jun 28 '23 16:06 olliaustor

not getting same error. do you have the same issue with the version on myget? https://www.myget.org/feed/caliburn-micro-builds/package/nuget/Caliburn.Micro.maui

vb2ae avatar Jul 01 '23 14:07 vb2ae

Same error, new Maui projekt depends on .net 7

Restoring packages for ... GET https://api.nuget.org/v3-flatcontainer/caliburn.micro.core/index.json OK https://api.nuget.org/v3-flatcontainer/caliburn.micro.core/index.json 220ms NU1102: Unable to find package Caliburn.Micro.Core with version (>= 5.0.7-beta.gd8666d156c)

  • Found 23 version(s) in nuget.org [ Nearest version: 4.0.212 ]
  • Found 0 version(s) in Microsoft Visual Studio Offline Packages
  • Found 0 version(s) in C:\Program Files\dotnet\library-packs Package restore failed. Rolling back package changes for 'DrSchuldner'. Time Elapsed: 00:00:00.5805839 ========== Finished ==========

jmeyerworms avatar Jul 05 '23 17:07 jmeyerworms

not getting same error. do you have the same issue with the version on myget? https://www.myget.org/feed/caliburn-micro-builds/package/nuget/Caliburn.Micro.maui

I used that link and it worked perfectly. But now we are having the same issues as @jmeyerworms. It seems that the beta version 5.0.34 beta is not available anymore.

@vb2ae Please add 5.0.34 beta for MAUI to myget (or somewhere else) so that it can be used.

olliaustor avatar Jul 28 '23 11:07 olliaustor

Myget was down for a day or so. I did a new build so the package will be available on myget, going to look at getting the package on a github feed also.

vb2ae avatar Jul 28 '23 21:07 vb2ae