【发布时间】:2013-02-28 11:44:26
【问题描述】:
首先 - PEX 上的工作很棒!
我们正在尝试为我们的 Office 插件项目之一进行代码探索。所以,首先让我问你这个——这可行吗?换句话说,PEX 可以帮助我处理 Add-In/VSTO 项目吗?
其次,我尝试在我们的一个加载项方法上执行 PEX 并收到以下错误
--- 描述 运行时上下文 Microsoft.Pex.Engine.Libraries.MicrosoftVisualBasicLibrary+ProjectErrorRuntimeContextAttribute+Context 未能打开
运行时上下文 Microsoft.Pex.Engine.Libraries.MicrosoftVisualBasicLibrary+ProjectErrorRuntimeContextAttribute+Context 未能打开
--- 异常详情
System.InvalidProgramException:公共语言运行时检测到无效程序。在 System.Void Microsoft.VisualBasic.CompilerServices.ProjectData..ctor() 在 Microsoft.VisualBasic.CompilerServices.ProjectData Microsoft.VisualBasic.CompilerServices.ProjectData.GetProjectData() 在 Microsoft.VisualBasic.ErrObject Microsoft.VisualBasic.Information.Err() 在 System.Void Microsoft.VisualBasic.CompilerServices.ProjectData.ClearProjectError()
感谢任何帮助!!!
谢谢, 穆纳尔布赫
【问题讨论】:
-
我在这一刻发现了同样的错误。我会尝试看看它是否阻止了正常的 pex 操作。
标签: pex