gswitz
asked on
XmlSerializer(this.GetType());
I've shot myself in the foot...
I've been cleaning up a project and I've made a few changes...
I'm trying to run a test and I call...
XmlSerializer Serializer = new XmlSerializer(this.GetType ());
and I get...
System.InvalidOperationExc eption was unhandled
Message=There was an error reflecting type 'MyProjects.MyProject.Sche maObjectCo llection'.
Source=System.Xml
StackTrace:
at System.Xml.Serialization.X mlReflecti onImporter .ImportTyp eMapping(T ypeModel model, String ns, ImportContext context, String dataType, XmlAttributes a, Boolean repeats, Boolean openModel, RecursionLimiter limiter)
In an effort to make the problem resolve, I replaced the code in SchemaObjectCollection with the version before I created this problem. I've reverted several other files as well and I'm I bit stuck.
I'm probably giving insufficient information for help, but I thought I'd ask.
Thanks in advance for trying!
I've been cleaning up a project and I've made a few changes...
I'm trying to run a test and I call...
XmlSerializer Serializer = new XmlSerializer(this.GetType
and I get...
System.InvalidOperationExc
Message=There was an error reflecting type 'MyProjects.MyProject.Sche
Source=System.Xml
StackTrace:
at System.Xml.Serialization.X
In an effort to make the problem resolve, I replaced the code in SchemaObjectCollection with the version before I created this problem. I've reverted several other files as well and I'm I bit stuck.
I'm probably giving insufficient information for help, but I thought I'd ask.
Thanks in advance for trying!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks!!