启动VS2015的命令提示符选项 [英] Command Prompt Options to Launch VS2015
问题描述
我想从命令提示符启动VS2015,以便它开始使用我将放在项目属性中的命令行参数调试解决方案。我该怎么做?
I would like to launch VS2015 from the command prompt so that it begins debugging a solution with the command line arguments I would have put in the project properties. How do I do it?
PLMKTY
CHobbs
推荐答案
您好CHobbs,
Hi CHobbs,
可以从命令行对程序调用Visual Studio调试器,允许指定命令行直接在命令行上调用命令行程序时的参数。
Visual Studio debugger can be invoked on a program from the command line, allowing one to specify the command line arguments when invoking a command line program, directly on the command line.
在VS2015中,右键单击项目,选择属性,转到
调试部分 - 有一个"命令参数"的框。
In VS2015, right-click the project, choose properties, go to the Debug section -- there is a box for "Command Arguments".
要启动VS,您可以尝试使用下面的命令行(VS2015命令提示符):
To launch VS, you could try to use the command line below(VS2015 command prompt):
devenv /debugexe 'program name' 'program arguments'
我希望它对你有所帮助。
I hope it’s helpful to you.
祝你好运,
Fletch
这篇关于启动VS2015的命令提示符选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!