I am getting the following error when try to import an xmlschema using datacontract serializer:
Invalid type specified. Type with name 'ArrayOfanyType' not found in schema with namespace 'http://schemas.microsoft.com/2003/10/Serialization/Arrays'.
I know it happened because I am using a List but how would I get around it? by using
knownTypes.Add(typeof(????))
thanks.