32Feet.net Compatibility with Xamarin Android Watch - xamarin.android

When I install 32feet to Xamarian for Android, the follow errors occur:
Error NU1202 Package 32feet.NET 3.5.0 is not compatible with monoandroid12.0 (MonoAndroid,Version=v12.0). Package 32feet.NET 3.5.0 supports:
net (.NETFramework,Version=v0.0)
net-cf (.NETFramework,Version=v0.0,Profile=CompactFramework)
How should I resolve this?

The package InTheHand.Net.Bluetooth is the current version and supports Android. So don't use 32Feet.net package anymore. Use package InTheHand.Net.Bluetooth instead.

Related

ios project shows errors after installing SkeletonView package

As soon as I add SkeletonView package with package Manager, xcode started showing these crazy errors. I installed 1.9.0 version of SkeletonView (selected exact version on package manager)
what should I do now?

Universal Windows Project, VS17, Cannot Install Microsoft.Azure.Devices.Client IOT SDK

I'm getting the following failure report when attempting to install version 1.31.2 in VS17 using Nuget.
Error NU1202 Package Microsoft.Azure.Devices.Client 1.31.2 is not compatible with uap10.0.15063 (UAP,Version=v10.0.15063) / win10-arm [and other Windows 10 versions]. Package Microsoft.Azure.Devices.Client 1.31.2 supports:
net451 (.NETFramework,Version=v4.5.1)
net472 (.NETFramework,Version=v4.7.2)
netstandard2.0 (.NETStandard,Version=v2.0)
netstandard2.1 (.NETStandard,Version=v2.1)
Any advice on how to resolve this would be appreciated. Do I need to use and earlier version?
You will need to meet the OS and hardware compatibility as described to install and use Microsoft.Azure.Devices.Client :
https://github.com/Azure/azure-iot-sdk-csharp#os-platforms-and-hardware-compatibility
See also: Prepare your development environment
"Visual Studio is not required to build the SDK. This may not be sufficient to run certain samples that require Visual Studio and other SDKs or frameworks installed on your machine."

Xamarin Android - Build failed after migration to AndroidX

I'm facing a build issue after migration to AndroidX. I encountered following error when build android project:
Error NU1107 Version conflict detected for Xamarin.Android.Support.Compat. Install/reference Xamarin.Android.Support.Compat 28.0.0.1 directly to project WhiteLabel.Mobile.App.Android to resolve this issue.
Project.Mobile.App.Android -> Xamarin.Essentials 1.2.0 -> Xamarin.Android.Support.Compat (>= 28.0.0.1)
Project.Mobile.App.Android -> CarouselView.FormsPlugin 5.2.0 -> Xamarin.Android.Support.v4 25.4.0.2 -> Xamarin.Android.Support.Compat (= 25.4.0.2). Project.Mobile.App.Android C:\mprojects\mproject-xamarin\Project.Mobile.App\Project.Mobile.App.Android\Project.Mobile.App.Android.csproj
I tried to resolve this with installing latest stable version of Xamarin.Android.Support.Compat package with version 28.0.0.3. However, install failed with rolling back package changes in xamarin android project. As of now, I still have no clues on how to fix this, does anyone has any ideas?
Microsoft Visual Studio Enterprise 2019 version 16.6.2
Compile using Android version (Target Framework): Android 10.0(Q)
Minimum Android version: Android 7 (API level 24 - Nougat)
Target Android version: Android 10.0 (API Level 29 - Q)
Xamarin.Forms: 4.6.0.800
Xamarin.Android Sdk: 10.3.1.4
Xamarin.iOS: 13.18.2.1
You could search the Xamarin.Android.Support.Compat nuget,then could see its Dependencies.You could try to install the dependencies it needs according different mono android versions first,then install the Xamarin.Android.Support.Compat nuget.

Using VSCode and Paket to add file to `.fsproj`

I'm using VSCode and Paket to add libraries from Nuget to an F# project/.fsproj file.
From VSCode, I use ctrl+shift+p and use the command Paket: Add Nuget Package (to current project) and enter
FsVerbalExpressions version 0.4.0
Unfortunately, Paket fails with the following error:
Paket version 3.23.2.0
Adding FsVerbaExpressions 0.4.0 to
c:...\paket.dependencies into group Main
Resolving packages for group Main:
- FsVerbaExpressions is pinned to 0.4.0
Package not available.
Message: Couldn't get package details for package FsVerbaExpressions 0.4.0 on https://www.nuget.org/api/v2.
Paket failed with:
Could not find versions for package FsVerbaExpressions on https://www.nuget.org/api/v2.
I know that FsVerbalExpressions is available on Nuget. I need the older version because the project I'm working on is targeted at .NET 4.5 and the newer version of FsVerbalExpressions will only work with .NET 4.6.1.
Typos happen. Make sure you proofread your error messages before looking for answers that are already in front of you.

Could not install package NLog 4.3.0-alpha3 in Xamarin iOS Project

I am trying to add the NLog package in my Xamarin Solution using Xamarin Studio. There is not a problem adding the library to a Xamarin Android Project. But it seems that NLog can not be added to my Xamarin iOS Project.
Package Console:
Adding NLog... Adding 'NLog 4.3.0-alpha3' to TestApp.iOS. Could not
install package 'NLog 4.3.0-alpha3'. You are trying to install this
package into a project that targets 'Xamarin.iOS,Version=v1.0', but
the package does not contain any assembly references or content files
that are compatible with that framework. For more information, contact
the package author.
According to the nuget package description, it supports Xamarin.iOS.
As confirmed, this is fixed in NLog 4.3.0-alpha4.
Please note that Xamarin Support is still in Alpha state.

Resources