Microsoft Visual C++ 在哪里? 2015-2022 是否安装了可再发行 (x64) 软件包?
我知道安装了 Visual C++ 2015-2022,因为:
A. 我在 Apps & 中看到它;功能(Microsoft Visual C++ 2015-2022 可再发行组件 (x64) - 14.31.31103 B. 我在注册表 HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\X64 中看到它
,但 %VCINSTALLDIR% 未在我的路径上设置,并且我无法在任何地方找到该 dll。
我需要向 IT 部门明确具体情况才能解决此问题。我想将 dll 添加到系统路径,但我必须先找到它们!
我设法在 C:\ProgramData\Package Cache\{2aaf1df0-eb13-4099-9992-962bb4e596d1}
中找到 VC_redist.x64.exe
但我认为这很奇怪...这可能与安装无关。
任何帮助表示赞赏!
I know visual C++ 2015-2022 is installed because:
A. I see it in Apps & Features (Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.31.31103
B. I see it in registry HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\X64
but %VCINSTALLDIR% is not set on my path, and I cant find the dll's anywhere.
I need to be really specific with my IT dept to get this fixed. I want to add the dll to the system path but I have to find them first!
I managed to find VC_redist.x64.exe
in C:\ProgramData\Package Cache\{2aaf1df0-eb13-4099-9992-962bb4e596d1}
but I think that is pretty strange... it may be unrelated to the install.
Any help appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
对我来说,它们位于
请注意
%VCINSTALLDIR%
仅适用于 Visual Studio 开发人员命令提示符。它应该位于开始菜单中的 Visual Studio XXXX 文件夹下,或者可以直接从 Visual Studio 内部启动。然后,您可以在终端中输入以获取该目录在您计算机上的位置。
For me they are at
Do note that
%VCINSTALLDIR%
only works in the Visual Studio Developer Command Prompt. That should be located under the Visual Studio XXXX folder in your start menu or it can be launched directly from inside visual studio. You can then enterin the terminal to get where the directory is located on your machine.
根据 Github/Microsoft< /a> Visual C++ 文件位于
%VCINSTALLDIR%Redist\MSVC\v143
文件夹中。According to Github/Microsoft Visual C++ Files are in
%VCINSTALLDIR%Redist\MSVC\v143
folder.您将 Visual Studio(开发环境)与 Microsoft Visual C++ Redistributable(运行时支持库)混淆了。甚至没有“Visual C++ 2015-2022”这样的东西。 Visual Studio 的每个版本都有一个特定的年份,例如 Visual Studio 2017 (VS2017)。该可再发行版本适用于 VS2015 和 VS2022 之间的所有 Visual Studio 版本。
%VCINSTALLDIR%
由所有 Visual Studio 版本的命令提示符设置,但该值在 Visual Studio 变体之间会有所不同。您可以在同一台计算机上并排安装多个版本的 Visual Studio。You're confusing Visual Studio (the development environment) with Microsoft Visual C++ Redistributable (a runtime support library). There isn't even such a thing as "visual C++ 2015-2022". Each version of Visual Studio has one specific year, such as Visual Studio 2017 (VS2017). The redistributable works for all Visual Studio versions between VS2015 and VS2022.
%VCINSTALLDIR%
is set by the command prompts of all Visual Studio version, but the value will differ between Visual Studio variants. You can install multiple versions of Visual Studio side by side on the same computer.