VC++: KB971090 并选择 Visual C 运行时 DLL 依赖项
您可能知道,Microsoft 最近为 Visual Studio 部署了安全更新:KB971090。
除此之外,这还将 Visual C 运行时 DLL 从版本 8.0.50727.762 更新到 8.0.50727.4053。
因此,在此更新之后,我编译的所有使用动态链接的运行时的内容都会将其依赖项更新为新的运行时。
当然,对于新应用程序,可以更新到新的、可能更安全的版本。
但我也希望能够保留旧的依赖关系 - 例如,我可能想构建一个只需要替换单个 DLL 的修复包(如果我在更新后尝试这样做,我会得到可怕的“该应用程序无法启动,因为应用程序配置不正确。”除非我还分发了更新的运行时)。
有什么方法可以做到这一点,还是我需要保留 Visual Studio 的两个安装:一个已更新,一个未更新?
As you might know, Microsoft recently deployed a security update for Visual Studio: KB971090.
Among other things, this updated the Visual C Runtime DLL from version 8.0.50727.762 to 8.0.50727.4053.
So after this update, everything I compile that uses the runtime dynamically linked, gets their dependencies updated to the new runtime.
Of course, for new applications it is fine to update to the new, presumably more secure, version.
But I would also like to be able to retain the old dependency - for example, I might like to build a fixpack that only require a single DLL to be replaced (if I try to do that after the update, I will get the dreaded "This application has failed to start because the application configuration is incorrect." unless I also distribute the updated runtime).
Is there any way to do this, or will I need to retain two installations of Visual Studio: one updated and one non-updated?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用找到的解决方法指定版本 此处
You can specify the version by using the workaround found here
您可以关闭自动生成的清单,并将您自己的清单包含在您需要的库版本中。
例如:
You can turn off autogenerated manifest and include your own with the library version you need.
For example: