VSInstallDir missing

后端 未结 1 1320
傲寒
傲寒 2021-01-20 04:39

I am using VS 2010 and Windows 7. I\'m trying to run a homework problem for a class in 3D Graphics, but when I try to run the downloaded homework program, I get this error:

相关标签:
1条回答
  • 2021-01-20 04:49

    It may refer to an environment variable named 'VSInstallDir'

    If your homework program uses command-line Visual Studio tools, you can try to run it from the 'Visual Studio command prompt' (search for it using your Windows start menu).

    Another option is to manually add it in Windows using System Properties (Windows Key + Break keyboard shortcut), goto Advanced, Environment variables, User variables and add it there. It's value should be 'c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\' without the quotes if you have 64-bit windows or 'c:\Program Files\Microsoft Visual Studio 10.0\VC\' if you have 32-bit windows installed. You will have to restart Visual Studio for this.

    0 讨论(0)
提交回复
热议问题