Posted on 2013-06-12
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.InvalidOperationException was unhandled
Message=There was an error reflecting type 'MyProjects.MyProject.SchemaObjectCollection'.
at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel 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!