Search code examples
installationwin-universal-appvisual-studio-2017windows-server-2016

Why doesn't design view work on UWA dev in Visual Studio 2017 preview running on Server 2016


I've installed Visual Studio 2017 preview and it does allow Win10 UWA (Universal Windows Apps) to be created, edited, built and run on Server 2016 (previously you couldn't).

However, for some reason the design preview doesn't work and gives the error:

Visual Studio requires a newer version of Windows to display this content. Please update to UAP 10.0.16299.0 or later.

As shown, in the snapshot, that version (of the Win10 SDK) is actually installed on my machine and was auto-installed when I installed VStudio 2017 preview.

Does anyone know why the design window doesn't work?

Error Message Is Incorrect

Also, notice that the error message is actually incorrect. It says it needs a "newer version of Windows". Then it points me to a version of the win10 SDK. That's confusing and/or mixed up. Especially since that SDK is actually installed.

required sdk installed but fails

EDIT I've also checked for System Updates but there do not seem to be any I'm missing:

no updates


Solution

  • When Visual Studio 2017 v15.5.0 Preview 4 released, it fixed this problem.

    VStudio about...

    After installing the update, I double-clicked the MainPage.xaml file and the Layout editor preview showed up on Server 2016.

    However, I do have to have the project targeting the following win10 version win10 version

    Targeting others doesn't seem to work properly.