简体   繁体   中英

How to open a project in Visual Studio 2019 using command line?

I can open Angular or NativeScript or NodeJS projects in VisualStudio code by going to their directory and just type code . in the command line. So I am interested to know is there another command like code . to opening the project inside the VisualStudio 2019 instead of Visual Studio code ?

From the command line, in the directory with your solution file, try

start NameOfSolutionFile.sln

Other ideas: https://davemateer.com/2018/11/14/Open-visual-studio-from-command-line

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