简体   繁体   English

如何使用命令行在 Visual Studio 2019 中打开项目?

[英]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 .我可以在 VisualStudio 代码中打开 Angular 或 NativeScript 或 NodeJS 项目,方法是转到它们的目录并键入code . in the command line.在命令行中。 So I am interested to know is there another command like code .所以我很想知道是否有另一个像code .这样的命令code . to opening the project inside the VisualStudio 2019 instead of Visual Studio code ?VisualStudio 2019打开项目而不是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其他想法: https : //davemateer.com/2018/11/14/Open-visual-studio-from-command-line

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用命令行构建 Visual Studio 安装项目? - How to build Visual studio Setup project using command-line? 如何使用命令行在WebStorm中打开项目(Windows 10) - How to open a project in WebStorm, using the command line (Windows 10) 创建新的visual studio项目,添加文件并运行它 - 命令行 - create new visual studio project, add files and run it - command line 命令行提示符Visual Studio - Command Line Prompt Visual Studio 如何从命令提示符打开 Visual Studio 解决方案文件 - How to open Visual Studio Solution File from the Command Prompt 在Visual Studio中使用命令窗口 - Using the Command Window in Visual Studio Visual Studio 2012命令行已构建 - Visual Studio 2012 command line built 使用命令行参数时,在Visual Studio中保留命令提示符窗口 - Hold command prompt window in Visual Studio, when using Command Line Arguments 如何使用命令提示符启动Visual Studio解决方案? - How to start Visual Studio solution using command prompt? 如何在Windows 10中从命令行构建Visual Studio 2015 vb解决方案 - How to Build a Visual Studio 2015 vb solution from command line in Windows 10
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM