C# Nunit System.Xml.XmlUrlResolver.GetEntity System.Xml.XmlException:不支持对象类型
我在使用Nunit 2.6.2测试C#dll时遇到了这个错误C# Nunit System.Xml.XmlUrlResolver.GetEntity System.Xml.XmlException:不支持对象类型,c#,.net,xml,nunit,C#,.net,Xml,Nunit,我在使用Nunit 2.6.2测试C#dll时遇到了这个错误 System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) System.Xml.XmlException : Object type is not supported. 请看一看。对象的返回必须是流类型 看 例外情况: XmlException:ofObjectToReturn不是流类型 ofObjectToRet
System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
System.Xml.XmlException : Object type is not supported.
请看一看。对象的返回必须是
流
类型
看
例外情况:
XmlException:ofObjectToReturn不是流类型
ofObjectToReturn必须是
流
类型
看
例外情况:
XmlException:ofObjectToReturn不是流类型
至少给我们一行抛出错误的代码…至少给我们一行抛出错误的代码。。。