Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 Nunit 2.6.2 测试 C# dll 时出现此错误。
System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) System.Xml.XmlException : Object type is not supported.
请看一下。
ofObjectToReturn 必须是一个Stream类型
Stream
见msdn
例外: XmlException : ofObjectToReturn 不是 Stream 类型。
例外:
XmlException : ofObjectToReturn 不是 Stream 类型。