0
votes

This question sound's to be little basic but I don't find any documentation on MSDN. Actually, in my machine, I have 4 UWP SDK version(17134, 16299, 14393, 15063) installed which is consuming a lot of disk space.

My App min version is 14393 and target version is 15063. So the question is that do I need 14393 SDK or having only 15063 strong text is sufficient?

2
You must have min sdk version- which states min version of win 10 will required in client/user side. Extra Note: Currently windows 10 mobile has version 10.0.15254.xxx and few limited to 10.0.14393.xxx so if you are considering all device Min version will play a roleShubham Sahu

2 Answers

1
votes

My App min version is 14393 and target version is 15063. So the question is that do I need 14393 SDK or having only 15063 strong text is sufficient?

You could choose to install only 15063 SDK. Once you only install the 15063 SDK, then your target version could only set 15063 and the min version could be 10240 ~ 15063.

In short, only installing one SDK will not affect you to develop your UWP app, but you need to consider your app's users, their environment was not necessarily the same as yours.

For example, your project's target version is 15063 and min version is 10240, then, you develop and test your app on 15603 OS successfully, but your app can be installed on 14393 OS. In your code, once you call an API that is introduced from 15063, then the app run on 14393 will fail.

The document Choose which version to use for your app mentioned by @Bite has explained this scenario:

The value of Target Version is used to identify all the references (contract winmds) used to compile your project. But those references will enable you to compile your code with calls to APIs that won't necessarily exist on devices that you've declared that you support (via Minimum Version). Therefore, any API that was introduced after Minimum Version will need to be called via adaptive code. For more information about adaptive code, see Version adaptive code.

0
votes

Target Version. This sets the TargetPlatformVersion setting in your project file. It also determines the value of the TargetDeviceFamily@MaxVersionTested attribute in your app package manifest. The value you choose specifies the version of the UWP platform that your project is targeting—and therefore the set of APIs available to your app—so we recommend that you choose the most recent version possible. For more info about your app package manifest, and some guidelines around configuring TargetDeviceFamily manually, see TargetDeviceFamily.

Minimum Version. This sets the TargetPlatformMinVersion setting in your project file. It also determines the value of the TargetDeviceFamily@MinVersion attribute in your app package manifest. The value you choose specifies the minimum version of the UWP platform that your project can work with.

Please read Choose which version to use for your app. It has explained all information.