使用VS2013的命令行时,报了一个错误:ERROR: Cannot determine the location of the VS Common Tools folder
弄了半天,发现从开始菜单点开的是VS2012的命令行工具...
原来VS2013的安装的时候,在开始菜单同时放了VS2012的命令行工具(Microsoft Visual Studio 2012)和VS2013的命令行工具(Visual Studio 2013),原来是乌龙了。
不过如果就是想用VS2012的命令行怎么办? 在注册表中添加如下项,即可修正该问题:
1 | Windows Registry Editor Version 5.00 |