Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft.UI.Xaml nuget package requires TargetPlatformVersion >= 10.0.17763.0 (current project is 17134) #16

Closed
9 tasks
jbakholt opened this issue Nov 6, 2018 · 5 comments
Labels
team-Controls Issue for the Controls team

Comments

@jbakholt
Copy link

jbakholt commented Nov 6, 2018

Describe the bug
Creating a new barebone uwp app yields the error

Steps to reproduce the bug

Steps to reproduce the behavior:
In visual studio 2017

  1. New project
  2. Select UWP
  3. Select Blank App
  4. Manage nugets
  5. Add Latest stable Microsoft.Ui.Xaml
  6. Build the solution

Expected behavior
It should build

Screenshots

Version Info

NuGet package version:
Microsoft.UI.Xaml 2.0.181018003

Windows 10 version:

  • Insider Build (xxxxx)
  • October 2018 Update (17763)
  • [X ] April 2018 Update (17134)
  • Fall Creators Update (16299)
  • Creators Update (15063)
  • Anniversary Update (14393)

Device form factor:

  • [ X] Desktop
  • Mobile
  • Xbox
  • Surface Hub
  • IoT

Additional context

@jevansaks
Copy link
Member

This is intentional behavior. We need to enforce that consuming apps are running in the right compatibility mode when running on the latest OS. Note that your TargetPlatformVersion can be 17763 but you can keep your Minimum version the same.

If retargeting is a problem for you, we'd like to understand why.

There is an escape hatch, you can set the following in your project:

<SkipMicrosoftUIXamlCheckTargetPlatformVersion>true</SkipMicrosoftUIXamlCheckTargetPlatformVersion>

But you may run in to bugs due to running in older compatibility modes in newer versions of Windows.

@jbakholt
Copy link
Author

jbakholt commented Nov 6, 2018

I'm not sure we're on the same page. Compatible OS'es:

Windows Insider Preview (17135+)
April 2018 Update (17134)
Fall Creators Update (16299)
Creators Update (15063)
Anniversary Update (14393)

My installed OS version is 17134 so I can't set the Target to 17763 unless there's a way to update the SDK some way?

@jevansaks
Copy link
Member

You can install it via the Visual Studio Installer (it's in the Individual Components list) or you can use the standalone installer. https://developer.microsoft.com/en-US/windows/downloads/windows-10-sdk has more details.

@jbakholt
Copy link
Author

jbakholt commented Nov 6, 2018

So the "Supported OS versions" is somewhat outdated I guess. Thanks anyway.

@jevansaks
Copy link
Member

You're saying that it should say 17763? Yes we should probably list the fall creator's update. I'll fix it, thanks!

@jevansaks jevansaks added the team-Controls Issue for the Controls team label Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

2 participants