Re: Where is $(VCInstallDir) defined ?



Polaris <etpolaris@xxxxxxxxxxx> wrote:
"Alex Blekhman" <xfkt@xxxxxxxxx> wrote in message
news:ehn3rnNJHHA.4000@xxxxxxxxxxxxxxxxxxxxxxx
"Polaris" wrote:
In Visual Studio, under Tools - Options - Projects - VC++
Directories, I see many environmental variables like:
$(VCInstallDir), $(FrameworkSDKDir)... Where are those defined?


In addition to Igor's reply, you can see most of these variables by
executing "SET" command (without parameters) at Visual Studio command
prompt.

Kind of strange, they are not in registry

I have "ProductDir" value under

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\Setup\VC

registry key: that's likely where the value of $(VCInstallDir) comes
from. Similarly, the value for $(FrameworkSDKDir) probably comes from

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework
sdkInstallRootv1.1


and not in the output of "set" either...

Go to View | Other Windows | Command window. Once in the command window,
type the following line

Tools.Shell /c cmd /c set

This executes "set" command from inside Visual Stuio, so you see the
same environment variables the IDE sees.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.



Relevant Pages

  • Re: SETENV Command
    ... I did give this command ... again to set the env variables. ... >> could not set the environmental variables when i ... > The default shell in Fedora is bash, ...
    (Fedora)
  • Re: SETing environmental variables permantly
    ... | That's not via the command line, ... Anything you would do would be a daughter process and all child processes would inherit the ... Environmental variables but the parent process won't. ...
    (microsoft.public.windowsxp.general)
  • Re: Date Format
    ... if at the Dos prompt I issue the command date /t I get the ... I have checked the environmental variables but can find no reason ... generates a date/time output in a fixed format, ...
    (microsoft.public.windowsxp.general)
  • Re: help adding to environmental variables
    ... The Variable Name is not a personal name, but the command, as in set or path ... or temp... ... Try typing mode in the Variable Name field and com1:9600,n,1 in the ... > Environmental Variables. ...
    (microsoft.public.win2000.general)
  • Re: XP - nothing runs
    ... Having only three processes running is not normal, in reality your system should not be working at all with only the 3 processes shown above, several critical system processes are missing from the list. ... Make sure that you use a double redirector with the Tasklist command or else it will overwrite the information from the first command. ... I tried this on my own box and got pefectley sensible results, however on the dead one the command window just opens and then closes immediatlely:-( ... You are supposed to run the commands from an open command window, the commandshould either run or it should return an error message, it shouldn't terminate the command session and close the already open command window. ...
    (microsoft.public.windowsxp.general)