【发布时间】:2017-02-14 21:25:01
【问题描述】:
我正在寻找编写一些代码来打开 Visual Studio 命令提示符并移动到特定的行号。到目前为止,这是我得到的:
Process.Start("C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\Shortcuts\Developer Command Prompt for VS2013.lnk", "/K devenv /edit FileLocation /command ""edit.goto LineNumber""")
命令提示符打开,但我无法进行论证。命令:
devenv /edit FileLocation /command "edit.goto LineNumber"
在命令提示符下工作,但我不确定如何使用 process.start() 将此命令输入到 vb.net
【问题讨论】:
-
@T.S.我已经使用了该页面中的命令,没有通过 vb.net 应用程序使用命令。
标签: vb.net visual-studio command-prompt commandparameter