找不到 Visual Studio 2015 的 Visual C++ 可再发行组件的 MSM 文件?
MSM files for the Visual C++ redistributable for Visual Studio 2015 not found?
我已经使用 visual studio 2010 很长时间了,刚刚升级到 VS 2015(使用默认选项安装)。但我找不到 MSM,例如 Microsoft_VC140_CRT_x64.msm
2015 VC 运行时的 MSM 文件在哪里?
VC++ 2015 MSM 位于 %ProgramFiles(x86)%\Common Files\Merge Modules
。
来自Redistributing Visual C++ Files / Locate the redistributable files:
Another deployment option is to use redistributable merge modules (.msm files). In Visual Studio 2019, these files are part of an optional installable component named C++ 2019 Redistributable MSMs in the Visual Studio Installer. The merge modules are installed by default as part of a C++ install in Visual Studio 2017 and Visual Studio 2015. When installed in the latest version of Visual Studio 2019, you'll find the redistributable merge modules in %VCINSTALLDIR%Redist\MSVC\v142\MergeModules
. In both Visual Studio 2019 and Visual Studio 2017, they're also found in %VCToolsRedistDir%MergeModules
. In Visual Studio 2015, they're found in Program Files [(x86)]\Common Files\Merge Modules
.
安装 VC++ 运行时并进行适当的版本检查很重要,因为主要版本和文件名在 VC++ 2015、2017 和 2019 之间保持不变。
来自C++ binary compatibility between Visual Studio 2015, 2017, and 2019:
We've kept the Microsoft Visual C++ Redistributable major version number the same for Visual Studio 2015, 2017, and 2019. That means only one instance of the Redistributable can be installed at a time.
我已经使用 visual studio 2010 很长时间了,刚刚升级到 VS 2015(使用默认选项安装)。但我找不到 MSM,例如 Microsoft_VC140_CRT_x64.msm
2015 VC 运行时的 MSM 文件在哪里?
VC++ 2015 MSM 位于 %ProgramFiles(x86)%\Common Files\Merge Modules
。
来自Redistributing Visual C++ Files / Locate the redistributable files:
Another deployment option is to use redistributable merge modules (.msm files). In Visual Studio 2019, these files are part of an optional installable component named C++ 2019 Redistributable MSMs in the Visual Studio Installer. The merge modules are installed by default as part of a C++ install in Visual Studio 2017 and Visual Studio 2015. When installed in the latest version of Visual Studio 2019, you'll find the redistributable merge modules in
%VCINSTALLDIR%Redist\MSVC\v142\MergeModules
. In both Visual Studio 2019 and Visual Studio 2017, they're also found in%VCToolsRedistDir%MergeModules
. In Visual Studio 2015, they're found inProgram Files [(x86)]\Common Files\Merge Modules
.
安装 VC++ 运行时并进行适当的版本检查很重要,因为主要版本和文件名在 VC++ 2015、2017 和 2019 之间保持不变。
来自C++ binary compatibility between Visual Studio 2015, 2017, and 2019:
We've kept the Microsoft Visual C++ Redistributable major version number the same for Visual Studio 2015, 2017, and 2019. That means only one instance of the Redistributable can be installed at a time.