Wednesday, September 12, 2018

What is the right Target version that works for UWP project?

I faced quite a bit of downtime due to the wrong choice of the target version working with UWP Projects. Web search to find a cure sent me searching for answers I could not find.

I am using Microsoft Visual Studio Community 2017 Version 15.8.1. The Dell Laptop is running Evaluation copy of Build 17733.rs5_release(18083-1525). [This OS has a problem in that when you shutdown and restart the OS, it will reinstall the OS afresh wiping out some of the folders; saved passwords; saved items in Microsoft Edge. Visual Studio also gets reset.].

Now coming back to the right Target version for working with UWP projects, there are three options for the Target version shown in this image.

RightTargetVersion_0

Of the three options only one of them allows the Design editor in Visual Studio come up without this error - The app did'nt start(HRESULT:0x8027025B). This is the only one that works:

Windows 10 Creators Update (10.0; Build 15063).

Regarding the choices for the Min Version, Build 15086 and Build 15063 works without any changes, just the Solution refreshes.
RightTargetVersion_2

However, if you were to choose Build 14393.0 you need to install the required SDK.
RightTargetVersion_1

These findings are summarized in the next image.


RightTargetVersion_3

No comments: