Emil
Emil

Reputation: 6893

Which version of Windows SDK to install for UWP development?

I am new in UWP development and started my first project using xamarin. I recently recognized that on my pc almost all versions of win SDKs are installed as shown below.

enter image description here

Do I really need all of them or only the latest version if my project is supporting min and max versions as in the image below?

According the images I don't have the min version 10240 but it is supported as shown, it looks like that higher version already covers the lower version. is that so?

enter image description here

Upvotes: 3

Views: 623

Answers (1)

Bart
Bart

Reputation: 10015

If you want to support 10240 and target 14393, you'll at least need those 2 versions. Note that you can uninstall 10586 in Visual Studio even if you have the other 2 selected.

I do recommend you changing your VS installation and not delete SDKs from 'uninstall program'.

On another note, 10240 is rarely taken as minimum target these days, most often 10586 is picked (if not already 14393 as minimum as well to enabled some of the newest animations).

VS update window


UWP Build 10240 is actually versioned as 10.0.26624 (don't ask me why). Try re-installing that SDK explicitly and you'll get following error:

Installation error 10240

I noticed you have probably installed 10586 a while ago and it updated to a newer version. Similarly you already have an update of 14393. Whether you can uninstall 10586.15 or not, depends on whether the update is a complete overwrite or a partial update (my gut feeling would say the second, otherwise they could just remove the older version). To give you an idea, a 'full' 10586.212 is 2.15 GB. (I don't have an updated install on this machine to verify the update progress. I suppose only people from Microsoft can give a definitive answer on that part. But then again, as said before: update your VS installation, don't manually clean up SDKs.)

Upvotes: 1

Related Questions