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!
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.
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".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With