devenv.exe /command question

  • Thread starter Thread starter KakCAT
  • Start date Start date
K

KakCAT

Guest
Hi! I'm trying to integrate a custom made tool with Visual Studio 2017/2019 and I have two questions about the commandline devenv.exe interface:


1) I have a solution loaded in VS2017. I'd like to run a command on that already loaded solutionA.sln.

If I do devenv.exe [path_to_solutionA.sln] /command whatever_command a new instance of VS is created and the command is executed on the newly run VS instance. Is it possible to run that command for a solution that is already running?


2) Is it possible to run two consecutive commands via devenv.exe? In example, first /command "Edit.FindinFiles function1732" and then /command "Edit.GoToNextLocation"


Any alternatives to do the same job in a different (but still easy) way are welcome.


Thanks!

Continue reading...
 

Similar threads

S
Replies
0
Views
195
Starting VS Powershell as Admin hangs
S
K
Replies
0
Views
461
Kamalanathan Srinivas
K
M
Replies
0
Views
158
Mij Strebor
M
Back
Top