简体   繁体   中英

How to start Visual Studio solution using command prompt?

I have a Integrated Services Solution saved as itrs.sln . However, I am unable to open it via command prompt.

Below is how I normally start Visual Studio:

runas /netonly /user:ABC "C:\devenv.exe"

Below is how I tried to open the solution from command prompt which did not work:

runas /netonly /user:ABC "C:\itrs.sln"

Error says itrs.sln is not a valid Win32 application.

Is there any way in which I can straight away open itrs.sln from command prompt ?

我认为您可以使用runas命令运行Visual Studio,然后将解决方案文件作为参数传递给它:

runas /netonly /user:ABC "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe C:\itrs.sln"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM