MvvmCross Community Plugin for Sqlite with Unified API - xamarin

I've recently taken a client with an existing app using MvvmCross and the Community.Plugins.Sqlite. It looks like the old 3.1.1 version is all that is in nuget, which supports the classic ios api. Is there a version anywhere for the unified api?
Wally

The Community code supports iOS unified but you have to download the latest source and compile. We are debating whether or not to just swap out Sqlite-net for one of the PCL options.

Related

Is it safe to target the Bot Framework SDK to .NET 5?

We've recently started a project with the Virtual Assistant Template 1.0.1, and I wonder if it is safe to target the solution to net5.0 since we have some libraries that use this latest .NET GA release.
Currently, the VA template references the Bot Framework SDK 4.9.3. Any requirements on the SDK version?
I've done a couple of tests to confirm. The project compiles, and I can't see any errors. However, I'm looking for some confirmation from the community.
There are no obvious problems with targeting .NET 5. But if you'd like to be safe, you should go with the version the samples are using:
<TargetFramework>netcoreapp3.1</TargetFramework>

Xamarin Forms and Entity Framework Core NetStandard

Recently Xamarin announced support for NetStandard (see https://releases.xamarin.com/stable-release-cycle-7-service-release-1/) and the recently shipped Entity Framework Core supports NetStandard. There was a recent issue with the SQLite.Native package that has been resolved (see https://github.com/aspnet/EntityFramework/issues/4269) but when I build the Android version of a Xamarin Forms application it appears it does not include all the assemblies in the output that are needed by the Entity Framework and therefore the application will not run and crashes on the first line of EF code to retrieve data. The UWP version appears to work just fine so this seems like an issue with Android (possibly iOS too).
Has anyone run into this and know a way around it so that the compiled Xamarin Forms Android application will run using Entity Framework Core to access a SQLite database?
Thank you in advance.
Here are the steps you can follow.
Create a Xamarin.Forms project.
Convert the PCL project's properties to .NET Standard 1.3
Install Entity Framework Core and other EF Core stuffs
I have prepared a small hello world project at Github Here.
need to use -linkskip to inform compiler not to remove references.

Install specific old version of Xamarin.Android

TL;DR Is there a way to find the specific Xamarin.Android download link for a specific version mentioned in the release notes?
I would like to patch an app that was build using Xamarin.Android v4.20.0.34 so I need to downgrade my toolset (In future I'll take a snapshot of my build agent VM)
I can find the 4.20 release notes but the downloads referred to in the KB article How do I downgrade to an older version of Xamarin? are all version 3.11.xxxx:
I think that when I had this issue before, based on the stack answer to Downgrade Xamarin.Android I managed to guess the URL for the download I required.
Is there a way to find the specific Xamarin.Android download for a specific version mentioned in the release notes?
Edit
Is there an unofficial list?
We (Xamarin) do not list the unsupported versions of Xamarin tools in the store page.
However, you can email hello#xamarin.com or support email to get installers for old versions
Please use the below url to download specific versions of Xamarin Android.
https://github.com/xamarin/xamarin-android#downloads

Xamarin: Unable to add HotTuna.StarterPack

I am trying to install the MVVMCross.HotTuna.StarterPack on my Xamarin (Mac) Solution using the NuGet, but i ain't successful. The package was installed in the Xamarin.Android project successfully but while i try the same to do with the iOS and PCL project, it doesn't add. Any Idea on whats going wrong? Thanks!
That nuget package requires nuget 2.5 which isn't yet finished/released for Xamarin Studio - track https://github.com/mrward/monodevelop-nuget-addin/issues/13 for updates
It will also probably require fixes from Xamarin - they've not yet released PCL support, but it is in development. You can ask their forum and/or support for updates on this.
In the meantime:
you can develop for MvvmCross using VS on the PC - see http://mvvmcross.wordpress.com/
you can develop using binaries (not nuget) on the Mac - see http://slodge.blogspot.com/2013/05/xamarin-studio-quick-run-through-for.html
For Xamarin.Mac/MonoMac support, there's no PCL support currently available - so the only way to get this working currently is to fork the MvvmCross solution and to compile the PCL libraries for the appropriate Mac project. For more on current .Mac issues, track and/or contribute to: http://forums.xamarin.com/discussion/3733/playing-with-pcls

How long can I use prior versions of Azure SDK once a new version ships?

Currently the newest version of Azure SDK is 1.5, but I'm using 1.4 and don't want to waste time upgrading right now.
Will I face any problems deploying a package built against version 1.4 onto live cloud? How long (approximately) can I continue building against version 1.4?
Other than the pre-PDC CTP SDK, all RTM versions of the SDK are supported and continue to be supported. Before I left MSFT, there were customers still on v1.0 and it had literally been > year. I can't find any official documentation on SDK support windows, but we used to say the support window was very long and that you would be given a lot of warning if things were going to be deprecated (like CTP SDK versions).

Resources