2016-11-08 7 views
0

Visual Studio의 격리 된 셸에서 출력 창에 텍스트를 표시하는 데 문제가 있습니다. Isolated + Integrated Shell 재배포 가능 + Visual을 사용하는 컴퓨터에서 격리 된 셸을 실행하면 아무 문제가 없습니다. Studio Professional 2015 + SDK가 설치되었습니다. Visual Studio가 설치되지 않은 컴퓨터에서는 통합 셸에서 작동하지만 격리 된 셸에서는 출력 창이 비어있게됩니다.Visual Studio 격리 된 셸에서 출력 창이 작동하지 않습니다.

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(); 

누군가가 되거 수 :

나는 사용자 정의 출력 창을 생성하려면 다음을 사용하고? 감사합니다.

답변