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

1

5

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?

Mercurate answered 30/7, 2019 at 7:44 Comment(1)
davemateer.com/2018/11/14/Open-visual-studio-from-command-line - Might be interestingRufinaruford
Y
8

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

Yingling answered 23/10, 2020 at 18:9 Comment(1)
I was not aware of this, and now it's going to save me some time! Thank you!Ramsden

© 2022 - 2024 — McMap. All rights reserved.