是否可以删除旧版本的 Windows 10 SDK?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/38687216/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 19:38:06  来源:igfitidea点击:

Is it OK to delete older versions of Windows 10 SDK?

windowssdkshared-libraries

提问by dave

I just installed the latest SDK(10.0.10586.0) and was wondering if I can delete the libraries from the older Windows 10 SDKs(10.0.10240.0 and 10.0.10150.0)?

我刚刚安装了最新的 SDK(10.0.10586.0),想知道是否可以从较旧的 Windows 10 SDK(10.0.10240.0 和 10.0.10150.0)中删除这些库?

Or is there a safe way or a program to do this?

或者有没有安全的方法或程序来做到这一点?

回答by Olorunfemi Ajibulu

If storage space is a pressing issue for you, you can proceed to delete the older SDKs. Deletion can be done via program files in pre Windows 10 Creators Update builds or from Settings in newer Windows 10 builds. However an ideal software should provide a good backward compatibility at least within a major version of Windows which at this point is Windows 10.

如果存储空间对您来说是一个紧迫的问题,您可以继续删除旧的 SDK。可以通过 Windows 10 Creators Update 之前版本中的程序文​​件或较新的 Windows 10 版本中的设置来完成删除。然而,理想的软件应该至少在 Windows 的主要版本(此时是 Windows 10)中提供良好的向后兼容性。

Imagine someone with an early build of Windows 10 being unable to download your app from the store. You lose users/customers just because they have to update their OS all the way which many avoid altogether.

想象一下,使用早期版本的 Windows 10 的人无法从商店下载您的应用程序。您失去用户/客户只是因为他们必须一路更新他们的操作系统,而许多人完全避免。

Keeping the older SDKs will allow you choose a minimum Windows 10 build that your app should support and hence allow installation from devices on those builds.

保留较旧的 SDK 将允许您选择应用应支持的最低 Windows 10 版本,从而允许从这些版本上的设备进行安装。

回答by Paul T

If you need to target specific builds of Windows, then you might want to keep older SDKs around. As new SDKs come out there may be functionality added that isn't supported by older builds of Windows, then your code will not run on that build. Generally you want to use the newest SDK available that works for your targeted audience.

如果您需要针对特定​​的 Windows 版本,那么您可能希望保留较旧的 SDK。随着新 SDK 的出现,可能会添加旧版本 Windows 不支持的功能,那么您的代码将无法在该版本上运行。通常,您希望使用适用于您的目标受众的最新 SDK。

回答by Carlos Rafael Ramirez

You can uninstall the older versions via Add/Remove Programs. It maintains a different entry for each version.

您可以通过添加/删除程序卸载旧版本。它为每个版本维护一个不同的条目。