Hi,
I am creating a tool to be run inside Visual Studio Isolated Shell. Everything is working as expected apart from displaying text to the Output Window. When running the Isolated shell on a VM that has the following components installed the text can be displayed to the Output Window no problem:
Isolated+Integrated Shell Redistributable
Visual Studio Professional 2015 + SDK)
If I am using the same Isolated Shell on a VM that doesn’t have Visual Studio Professional 2015 installed, although it does have Isolated+Integrated Shell Redistributable installed on it, no text is displayed on the custom Output Window. What makes it even more bizare is that the same code works fine under Integrated Shell.
I am using the following to create a custom Output Window:
IVsOutputWindow opWindow =Package.GetGlobalService(typeof(SVsOutputWindow ) )asIVsOutputWindow;
Guid customGuid =newGuid("0F44E2D1-F5FA-4d2d-AB30-22BE8ECD9789");
string customTitle ="My Title";
opWindow.CreatePane(ref customGuid, customTitle,1,1 );
IVsOutputWindowPane opPane;
opWindow.GetPane(ref customGuid,out opPane);
opPane.OutputString("Hello, This is a test!" );
opPane.Activate();
I am aware of this topic, but not sure if it’s relevant: https://social.msdn.microsoft.com/Forums/sqlserver/en-US/09372064-4b27-440d-b168-297d257d17fb/output-window-not-showing-in-isolated-mode?forum=vsx
Can someone shed some light?
Thanks
MK