[MonoDevelop] Converting Add-in errors

Rick Gross rickgross at mac.com
Thu May 16 23:29:19 UTC 2013


I'm converting an older add-in and am getting the following errors for this line of code:

XmlDataSerializer serializer = new XmlDataSerializer(new DataContext()); 

Error CS0584: Internal compiler error: Method not found: 'MonoDevelop.Core.Serialization.DataContext.RegisterProperty'.
Error CS1502: The best overloaded method match for `MonoDevelop.Core.Serialization.XmlDataSerializer.XmlDataSerializer(MonoDevelop.Core.Serialization.DataContext)' has some invalid arguments
Error CS1503: Argument `#1' cannot convert `object' expression to type `MonoDevelop.Core.Serialization.DataContext'

Any thoughts?

Thanks,
Rick

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20130516/6bcee962/attachment.html>


More information about the Monodevelop-list mailing list