84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
每次都要在控制台进入VS的VC目录然后运行vcvarsall.bat才能使用devenv,怎么设置才能在任意地方都使用devenv命令呢?
认证0级讲师
Add the devenv directory path to the system environment variable path
The easiest way is to generate a shortcut and put it on the launch bar or desktop. If the shortcut in the picture below is , just click the icon when using it.
I use Powershell + PSCX. PSCX has an ImportVisualStudioVars command. Add it to your personal ps configuration and open powershell to use it
Add the devenv directory path to the system environment variable path
The easiest way is to generate a shortcut and put it on the launch bar or desktop. If the shortcut in the picture below is
, just click the icon when using it.
I use Powershell + PSCX. PSCX has an ImportVisualStudioVars command. Add it to your personal ps configuration and open powershell to use it