2016-11-08 11 views
0

Visual Studio Isolated Shellで出力ウィンドウにテキストを表示する際に問題が発生しました。Isolated + Integrated Shell Redistributable + Visual Studio Professional 2015 + SDKがインストールされています。 Visual Studioがインストールされていないマシンでは、統合シェル上では​​動作しますが、独立ウィンドウでは出力ウィンドウは空白のままです。Visual Studio Isolated Shellで出力ウィンドウが機能しない

IVsOutputWindow opWindow = Package.GetGlobalService(typeof(SVsOutputWindow)) as IVsOutputWindow; 
Guid customGuid = new Guid("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(); 

誰かがいくつかの光を当てることができます:

私は、カスタム出力ウィンドウを作成するには、以下の使用していますか? ありがとう

答えて

関連する問題