技术文章 - CS185832

VSI - 当在 Integrity Lifecycle Manager 中为 ac# 项目打开属性页面时发生异常时,日志中出现大量警告消息

已修改: 27-Dec-2022   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • PTC RV&S (formerly Integrity Lifecycle Manager) 10.4 to 12.0

说明

  • 打开c#项目的属性页时出现异常。 VS 2010 和 VS 2012 都会出现此问题。重现:
1.打开之前共享的Visual Studio C#项目
2.在Solution Explorer中右击C#项目,选择Properties菜单项
3. 打开 Visual Studio 集成日志文件
  • 您应该在日志中看到以下内容:
    • [4/30/2013 9:30:22 AM] [警告] 异常 (System.NotImplementedException):方法或操作未实现。
      [4/30/2013 9:30:22 AM] [警告] 在 System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode,IntPtr errorInfo)
      [4/30/2013 9:30:22 AM] [警告] 在 System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
      [4/30/2013 9:30:22 AM] [警告] 在 Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure(Int32 小时,Int32[] expectedHRFailure)
      [4/30/2013 9:30:22 AM] [警告] 在 MKS.VisualStudio.Core.VSItemFactory.GetProjectType(IVsHierarchy 项目)
      [4/30/2013 9:30:22 AM] [警告] 异常 (System.NotImplementedException):方法或操作未实现。
      [4/30/2013 9:30:22 AM] [警告] 在 System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode,IntPtr errorInfo)
      [4/30/2013 9:30:22 AM] [警告] 在 System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
      [4/30/2013 9:30:22 AM] [警告] 在 Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure(Int32 小时,Int32[] expectedHRFailure)
      [4/30/2013 9:30:22 AM] [警告] 在 MKS.VisualStudio.Core.VSItemFactory.GetProjectType(IVsHierarchy 项目)
      [4/30/2013 9:30:22 AM] [警告] 异常 (System.NotImplementedException):方法或操作未实现。
      [4/30/2013 9:30:22 AM] [警告] 在 System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode,IntPtr errorInfo)
      [4/30/2013 9:30:22 AM] [警告] 在 System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
      [4/30/2013 9:30:22 AM] [警告] 在 Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure(Int32 小时,Int32[] expectedHRFailure)
      [4/30/2013 9:30:22 AM] [警告] 在 MKS.VisualStudio.Core.VSItemFactory.GetProjectType(IVsHierarchy 项目)
      [4/30/2013 9:30:22 AM] [警告] 异常 (System.NotImplementedException):方法或操作未实现。
      [4/30/2013 9:30:22 AM] [警告] 在 System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode,IntPtr errorInfo)
      [4/30/2013 9:30:22 AM] [警告] 在 System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
      [4/30/2013 9:30:22 AM] [警告] 在 Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure(Int32 小时,Int32[] expectedHRFailure)
      [4/30/2013 9:30:22 AM] [警告] 在 MKS.VisualStudio.Core.VSItemFactory.GetProjectType(IVsHierarchy 项目)
      [4/30/2013 9:30:22 AM] [警告] 异常 (System.NotImplementedException):方法或操作未实现。
      [4/30/2013 9:30:22 AM] [警告] 在 System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode,IntPtr errorInfo)
      [4/30/2013 9:30:22 AM] [警告] 在 System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
      [4/30/2013 9:30:22 AM] [警告] 在 Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure(Int32 小时,Int32[] expectedHRFailure)
      [4/30/2013 9:30:22 AM] [警告] 在 MKS.VisualStudio.Core.VSItemFactory.GetProjectType(IVsHierarchy 项目)
      [4/30/2013 9:30:22 AM] [警告] 异常 (System.NotImplementedException):方法或操作未实现。
      [4/30/2013 9:30:
这是文章 185832 的 PDF 版本,可能已过期。最新版本 CS185832