Home > Net >  Where are the Microsoft Visual C 2015-2022 Redistributable (x64) packages installed?
Where are the Microsoft Visual C 2015-2022 Redistributable (x64) packages installed?

Time:03-25

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!

CodePudding user response:

For me they are at

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC

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 enter

cd %VCINSTALLDIR%

in the terminal to get where the directory is located on your machine.

CodePudding user response:

According to Github/Microsoft Visual C Files are in %VCINSTALLDIR%Redist\MSVC\v143 folder.

The easiest way to locate the redistributable files is by using environment variables set in a developer command prompt. In Visual Studio 2022, the redistributable files are in the %VCINSTALLDIR%Redist\MSVC\v143 folder. In the latest version of Visual Studio 2019, you'll find the redistributable files in the %VCINSTALLDIR%Redist\MSVC\v142 folder. In both Visual Studio 2017 and Visual Studio 2019, they're also found in %VCToolsRedistDir%. In Visual Studio 2015, these files can be found in %VCINSTALLDIR%redist<locale>, where is the locale of the redistributable packages.

  • Related