1
votes

I have created new Xamarin.Forms project in Visual Studio 2017. And trying to run UWP application and ended up with below error.

To deploy this application, your deployment target should be running Windows Universal Runtime version 10.0.16299.0 or higher. You currently are running version 10.0.14393.2214. Please update your OS, or change your deployment target to a device with the appropriate version.

2
Have you tried to update windows ? Or simply lower build minimum widows version in your project?Demon
I just created a fresh VS2017 xamarin forms project & it gives me this error. I've tried changing all the min & target versions. But still gives the same error.San
When you create xamarin forms you select the os version, by default it's the most recent version,which means it's higher then your running is. You should be able to change uwp project deployment version of app (I would recommend to restart vs after that, I had ghost errors with xamarin forms ) and you should be able to run it, please also make sure that you have windows set in developer mode.Demon
The windows is in developer mode. If i change the OS version, i'm facing a new error. 'netstandard2.0'. It cannot be referenced by a project that targets 'UAP,Version=v10.0.10586'.San
10.0.16299 is minimal uwp version for net standard 2.0. I would suggest the obvious - windows update. Even if you change standard version, you will still have issues since your os version is below v10.0.10586,which I assume is minimal that you can setDemon

2 Answers

4
votes

The problem is not with your project, but with the PC you are trying to build it on. Maybe you have disabled updates, because apparently you still have Windows 10 Anniversary Update (14393) which is very old (current version is April 2018 Update (17134). To build apps with Fall Creators Update SDK (which is the first that supports .NET Standard 2.0.), you first have to update at least to that version of the operating system.

Go to system Settings, Update & Security and check for updates. There must be a lot of them waiting for you already. If not, use Windows 10 Update Assistant from here.

0
votes

Go to Solution explorer and double tap the properties

enter image description here

Then please select application options and select minimum build version based on your current OS build version. It works for me.

enter image description here