user2335065
user2335065

Reputation: 2557

Error Building Win10 App on VS 2015 after updating

After updating to Windows 10 and to Visual Studio 2015 from its RC, I can't build my windows 10 app in development. The error says "error : "10.0.10069.0" is not a supported value for TargetPlatformVersion. Please change it on the Project Property page.

I clicked onto it, I see this:

<CheckUAPVersions TargetPlatformVersion="$(TargetPlatformVersion)" TargetPlatformMinVersion="$(TargetPlatformMinVersion)" SDKIdentifier="$(SDKIdentifier)" SDKVersion="$(SDKVersion)" />

But don't know what to change.

On my package.appxmanifest, I have

 <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.10069.0" MaxVersionTested="10.0.10069.0" />

Can anyone help? Thanks!

Upvotes: 8

Views: 5262

Answers (3)

Leo Tiofan Justicia
Leo Tiofan Justicia

Reputation: 21

In your solution explorer, right click the UWP project directory and choose "Properties". Then, on the "Target Version" and "Min Version" field, click the drop down button and choose the target platform version based on your sdk, not "inherit from parent or project defaults".

Upvotes: 2

Mars Robertson
Mars Robertson

Reputation: 13233

This answer: https://stackoverflow.com/a/31705693/775359

This post on the forum: https://forum.ionicframework.com/t/solved-problem-running-windows-platform-on-windows-10/30216/6

In other words Windows 10 SDK is required: https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk

(also remember to update your Windows 10)

Upvotes: 0

Chuck Walbourn
Chuck Walbourn

Reputation: 41127

In your appxmanifest, set them both to 10.0.0.0. The RTM toolset injects the correct version when building.

Then in your project properties, make sure to set the target toolset version property to 10.0.10240.0 for All Configurations and All Platforms.

Upvotes: 4

Related Questions