适用于 Visual Studio 2017 的 Visual C++ 可再发行组件的 MSM 文件在哪里? [英] Where are the MSM files for the Visual C++ redistributable for Visual Studio 2017?

查看:54
本文介绍了适用于 Visual Studio 2017 的 Visual C++ 可再发行组件的 MSM 文件在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用 VS 2015 一段时间了,昨天 (2017-03-07) 刚刚推出时才升级到 VS 2017.我只安装了 .NET 桌面和 C++ 桌面工作流,没有更改任何其他单独的组件.

I've been using VS 2015 for a while now and just upgraded to VS 2017 when it launched yesterday (2017-03-07). I installed with only the .NET desktop and C++ desktop workflows, without changing any other individual components.

我正在考虑将我的 C++ 项目迁移到 2017 年工具链(显然版本141"?2015 年是140").我需要为我的安装程序使用 VC 合并模块,所以我查看了 C:\Program Files (x86)\Common Files\Merge Modules 文件夹,但该文件夹仅包含 VC140 MSM,我还希望看到 VC141 安装 2017 时添加的 MSM.

I'm considering migrating my C++ projects to the 2017 toolchain (version "141" apparently? 2015 was "140"). I need to use the VC merge modules for my installer, so I looked in the C:\Program Files (x86)\Common Files\Merge Modules folder, but that folder only contains VC140 MSMs where I was expecting to also see VC141 MSMs added by the installation of 2017.

2017 VC 运行时的 MSM 文件在哪里?

Where are the MSM files for the 2017 VC runtime?

我简要地(非常简要地)考虑了以下可能性:因为 2017 年的 VC 数字看起来与 2015 年的 VC 数字相比略有上升,2015 年的 MSM 可能足以满足 2017 年的运行时需求,但是……这似乎不太可能.

I briefly (very briefly) considered the possibility that because 2017's VC number looks like a semver minor bump from 2015's VC number, the 2015 MSMs might suffice for the 2017 runtime, but... that seems unlikely.

推荐答案

截至 Visual Studio 2017 RTM ...

我在以下路径找到了我正在寻找的 MSM 文件:

As of Visual Studio 2017 RTM ...

I found the MSM files I was looking for at the following path:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Redist\MSVC\14.10.25008\MergeModules

这个路径中嵌入了版本名称,有点可惜.根据您实际安装的版本替换该路径元素.

The edition name is embedded in this path, which is a little unfortunate. Replace that path element according to the edition you've actually installed.

此外,MSVC 之后的数字路径元素可能会有所不同,具体取决于您当前安装的 Visual Studio 更新.

Also, the numeric path element after MSVC may be different depending on what Visual Studio update you currently have installed.

我在该位置找到的 MSM 文件的完整列表:

The full list of MSM files I found at that location:

Microsoft_VC150_CRT_x64.msm
Microsoft_VC150_CRT_x86.msm
Microsoft_VC150_CXXAMP_x64.msm
Microsoft_VC150_CXXAMP_x86.msm
Microsoft_VC150_DebugCRT_x64.msm
Microsoft_VC150_DebugCRT_x86.msm
Microsoft_VC150_DebugCXXAMP_x64.msm
Microsoft_VC150_DebugCXXAMP_x86.msm
Microsoft_VC150_DebugOpenMP_x64.msm
Microsoft_VC150_DebugOpenMP_x86.msm
Microsoft_VC150_OpenMP_x64.msm
Microsoft_VC150_OpenMP_x86.msm

从 Visual Studio 2017 v15.3.1 开始......

显然,合并模块文件名中的 150 版本字符串不是 MS 想要的.请参阅发行说明 这里.更新后的合并模块文件名改为使用 141 版本字符串,以匹配工具集版本 14.1x.

As of Visual Studio 2017 v15.3.1 ...

Apparently a 150 version string in the merge module file names is not what MS intended. See the release notes here. The updated merge module file names use a 141 version string instead, to match the toolset version 14.1x.

这篇关于适用于 Visual Studio 2017 的 Visual C++ 可再发行组件的 MSM 文件在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆