0

我正在尝试按照教程创建一个新的 Visual Studio 项目类型:http: //msdn.microsoft.com/en-us/library/vstudio/cc512961.aspx

不幸的是,我收到一个奇怪的异常,指出“Guid 应包含 32 位数字和 4 个破折号”。

错误出现在某处:

// Launch the aggregate creation process (we should be called back on our     
IVsAggregatableProjectFactoryCorrected implementation)
IVsCreateAggregateProject aggregateProjectFactory =IVsCreateAggregateProject)this.Site.GetService(typeof(SVsCreateAggregateProject));
        int hr = aggregateProjectFactory.CreateAggregateProject(guidsList, fileName, location, name, flags, ref projectGuid, out project);
        if(hr == VSConstants.E_ABORT)
            canceled = 1;
        ErrorHandler.ThrowOnFailure(hr);

我不知道我做错了什么以及如何调试它。ErrorHandler 只是抛出异常。

4

0 回答 0