单元测试后,“已与基础RCW分离的COM对象无法使用”

时间:2013-10-01 15:00:40

标签: .net unit-testing com

我知道 - 这个标题还有很多其他问题。在我的一个单元测试完成(成功)后,我收到此错误。但是,我使用任何COM对象;我没有在我的单元测试中调用任何非托管代码。这是堆栈跟踪:

   at System.Windows.Input.TextServicesContext.StopTransitoryExtension()
   at System.Windows.Input.TextServicesContext.Uninitialize(Boolean appDomainShutdown)
   at System.Windows.Input.TextServicesContext.TextServicesContextShutDownListener.OnShutDown(Object target, Object sender, EventArgs e)
   at MS.Internal.ShutDownListener.HandleShutDown(Object sender, EventArgs e)

0 个答案:

没有答案