Visual Studio 명령 프롬프트를 열고 특정 줄 번호로 이동하는 코드를 작성하려고합니다. 여기까지 내가 지금까지 무엇을 얻었 는가 :VS12.0 명령 프롬프트에 입력 할 인수 특정 줄 번호로 열기 vb.net
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"
명령 프롬프트에서 작동하지만 내가 입력에 vb.net으로이 명령은 Process.Start를를 사용하는 방법을 잘 모르겠어요() 모든의
[특정 줄 번호의 Visual Studio에서 파일 열기] (http://stackoverflow.com/questions/350323/open-a-file-in-visual-studio-at-a-specific- 라인 번호) –
@TS 필자는이 페이지에서 명령을 사용했지만 vb.net 응용 프로그램을 통해 명령을 사용하는 것에 대해서는 아무것도 사용하지 않았습니다. – user2823955