C# external tool for SSMS - Reading from stdin
- by jheppinstall
Hi all,
I am trying to write an app that makes use of the external tools functionality of SQL Server Management Studio.
To specify an external tool, you can enter a path to the app and specify some arguments to pass to the app via STDIN.
Currently I just have a form that displays the arguments. Every time I run the external tool I get a new instance of the application.
Ideally I would like for the first time I run the tool to load the application, and each subsequent running to take the arguments from STDIN and do something with them WITHOUT creating a new instance of the app.
Is there anything I can do that could allow this, or am I stuck with lots of windows?
Thanks in advance