T
T
Tzeentch2014-08-15 15:39:06
C++ / C#
Tzeentch, 2014-08-15 15:39:06

How to set VCInstallDir option for VS 2010?

Installed Visual Studio 2010 Express. I work on Windows 7. When building the project, I get an error that the VCInstallDir parameter is not set or empty. Added the path to the required folder to the PATH variable. But the project is not going and the same error falls.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lil_toady, 2015-02-24
@lil_toady

It's probably too late, but suddenly someone needs it:
VCInstallDir, like many other environment variables for the studio, is set and checked by calling %vs dir%\Common7\Tools\vsvars32.bat,
which in turn calls VCVarsQueryRegistry.bat.
If you look at the latest batch file, for VCInstallDir, the "10.0" key is searched in the following paths:
- HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VC7
- HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VC7
- HKLM\SOFTWARE\Wow6432Node\Microsoft\ VisualStudio\SxS\VC7
- HKCU\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VC7

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question