I have developed a Xamarin Forms(.Net standard) UWP app and submitted it to windows store, but the windows store team reject the app because of the following issue.
The app doesn’t install on one or more of the currently selected device families due to an unsupported minimum OS version. If the affected device family is not intended to be targeted, then please de-select the unsupported device family and resubmit the app. Otherwise, please change the minimum and/or target OS version that the app supports (https://learn.microsoft.com/en-us/windows/uwp/updates-and-versions/choose-a-uwp-version#choose-which-version-to-use-for-your-app)
My apps min and target versions are Windows 10 Fall Creators Update(10.0; Build 16299). I am targetting my app only for windows 10 desktop devices and windows 10 mobile devices. So what is the correct min and target versions for my app?
To Martin Zikmund:
If I downgrade target version to 15063 (Creators Update) my windows app build failed with the following error.
The solution for this error is changed the target version to Windows 10 Fall Creators Update(10.0; Build 16299), I found it here. If I changed the min and target version to Windows 10 Fall Creators Update the build will succeed.
You are probably trying to traget Windows 10 Mobile, which did not receive 16299 (Fall Creators Update) and got stuck on a sub-FCU build. To support it, you would have to downgrade to 15063 (Creators Update), but that means you can no longer use the latest versions of Xamarin.Forms which are targeting .NET Standard 2.0 which is not supported on 15063 and have to downgrade to version 2.X of Xamarin.Forms. You will also have to downgrade your library from .NET Standard 2.0 to Portable Class Library.
Practically this means that to be able to use the latest and greatest of Xamarin.Forms you will likely have to drop support for Mobile and target the other SKUs only. Judging by the numbers it is probably a good idea nowadays, as most users are on Windows 10 Desktop, iOS and Android anyway.