This related question展示了如何从Visual Studio Developer命令提示符构建和运行Visual Studio解决方案。我的问题是,是否可以直接从常规Windows命令提示符(cmd.exe)构建和运行Visual Studio解决方案?
答案 0 :(得分:1)
最后,我找到了答案。
function populateList () { for (i = 0; i<cards.length; i++) document.getElementById('myList').innerHTML += '<li>'+cards[i].toLink()+</li>; }
C:\Users\Hwathanie>cmd.exe /k ""C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat"" x86
C:\Users\Hwathanie>msbuild "C:\Users\Hwathanie\Documents\Visual Studio 2013\Projects\MyProject\MyProject.sln" /p:Configuration=Debug