Xamarin.Forms UWP project wont install on windows 10 mobile

614 Views Asked by At

I am not able to install the appbundle file in windows phone 10

I have tried copying the file on device and also via the winappdeploycmd.exe tool

But nothing works!

1

There are 1 best solutions below

7
magicandre1981 On

If you use .Net Standard 2.0 and Xamarin.Forms 3.0 you can't install the app on Windows 10 Mobile, because .Net Standard 2.0 support was added with the Windows 10 v1709 Build 16299, but Microsoft never released that version for phones. They hang at lower feature2 branch with Build 15254.

So you have 2 options:

  • use PCL as shared code with Xamarin.Forms 2.5.1 and Min/TargetBuild 14393/15063 to serve both, Desktop/Tablets and phones
  • create separate brach/app with PCL for mobile (Min/TargetBuild 14393/15063) and 1 app for desktop which uses .net standard 2.0 (Min/TargetBuild 16299/16299) and latest Xamarin.Forms version.