groads2 Posted June 12, 2012 Posted June 12, 2012 When I build my project I get the following error and this is new territory for me as a noobie in .net. Thanks in advance for suggestions. Error 1: System.IntPtr is an unsupported type. Please use [XmlIgnore] attribute to exclude members of this type from serialization graph. File: C:\Denali CAD\trunk\CAD\EnRoute.CAD.UI\EXEC Project: EnRoute.CAD.UI Quote
groads2 Posted June 12, 2012 Author Posted June 12, 2012 I just fixed the problem. One of the other projects that I referenced in this project had a class with property of type system.IntPtr. I had to use the xmlIgnore attribute on the property to correct the problem. Thanks. <Xml.Serialization.XmlIgnore()> _ Public ReadOnly Property WindowHandle() As Nullable(Of IntPtr) Get Return _winHandle End Get End Property Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.