none
VS2015 出现了“未能正确加载DiagnosticsHubPackage包”的错误 RRS feed

  • 问题

  • 程序源代码:

    #include<Windows.h>
    int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
    {
    MessageBox(NULL, "Welcome to Windows Programming!", "HELLO WORLD", MB_OK | MB_ICONEXCLAMATION);
    }

    F5后显示 未能正确加载"DiagnosticsHubPackage"包

    ActivityLog显示如下:

    406 Entering function CVsPackageInfo::HrInstantiatePackage {7F2464AE-D49B-4C01-BCDC-55BDD4C18BCF} VisualStudio 2016/03/06 11:55:18.697
    407 Warning Unexpected system error mode before loading package [DiagnosticsHubPackageShim] {7F2464AE-D49B-4C01-BCDC-55BDD4C18BCF} VisualStudio 2016/03/06 11:55:18.697
    408 Begin package load [DiagnosticsHubPackageShim] {7F2464AE-D49B-4C01-BCDC-55BDD4C18BCF} VisualStudio 2016/03/06 11:55:18.697
    409 End package load [DiagnosticsHubPackageShim] {7F2464AE-D49B-4C01-BCDC-55BDD4C18BCF} VisualStudio 2016/03/06 11:55:18.697
    410 Entering function CVsPackageInfo::HrInstantiatePackage {22512D50-40BC-4DEA-89B1-21D70BB4218E} VisualStudio 2016/03/06 11:55:18.728
    411 Warning Unexpected system error mode before loading package [DiagnosticsHubPackage] {22512D50-40BC-4DEA-89B1-21D70BB4218E} VisualStudio 2016/03/06 11:55:18.728
    412 Begin package load [DiagnosticsHubPackage] {22512D50-40BC-4DEA-89B1-21D70BB4218E} VisualStudio 2016/03/06 11:55:18.728
    413 ERROR SetSite failed for package [DiagnosticsHubPackage] {22512D50-40BC-4DEA-89B1-21D70BB4218E} 80070002 VisualStudio 2016/03/06 11:55:18.744
    414 ERROR End package load [DiagnosticsHubPackage] {22512D50-40BC-4DEA-89B1-21D70BB4218E} 80070002 VisualStudio 2016/03/06 11:55:18.744

    重装VS还是不行,后来选择不再显示该错误后也没有异常

    编程新手,求解决,谢谢!

    2016年3月6日 12:19

答案

全部回复