   [.net] VB.NET (2.0) XML Serialization Problem
  Howdy guys and gals...I'm having an odd problem.. I have a very simple class to manage an app configuration.  I am reading and writing it's contents to an XML file by XML serialization.  It was working great until some point when I simply added a new member of type String.  For some reason, it simply REFUSES to write out that member when I serialize.  I simply added the new member right below all of the others, most of which are also String types.Does anyone have any idea what might cause that?  I've even added the new member to the xml file by hand, and it won't load it.   
  Umm, code?   ;  Very interesting...  do you have any source code we could see?   ;  Sorry for the delay.The member that I added and which is not being serialized is databasePath.Imports System.Xml.SerializationPublic Class SystemConfiguration    ' Single instance    Public Shared INST As SystemConfiguration    Public Shared configFileName As String = "SystemConfig.xml"    Public twainSourceName As StringPublic scanRepositoryPath As String    Public scanImageExtension As String    Public selRectangle As Rectangle    Public databasePath As String    Public Sub New()    End Sub    Public Shared ReadOnly Property Instance() As SystemConfiguration   Get  ' If there is not instance already stored, create one  If INST Is Nothing Then _ INST = New SystemConfiguration  ' Return the instance  Return INST   End Get    End Property    Public Sub WriteToXML()   Dim writer As New XmlSerializer(GetType(SystemConfiguration))   Dim file As New System.IO.StreamWriter( _  SystemConfiguration.configFileName)   writer.Serialize(file, Me)   file.Close()    End Sub    Public Shared Function LoadInstanceFromXML() As SystemConfiguration   Dim reader As New XmlSerializer(GetType(SystemConfiguration))   Dim file As New System.IO.StreamReader( _  SystemConfiguration.configFileName)   Dim retVal As SystemConfiguration = _  CType(reader.Deserialize(file), SystemConfiguration)   file.Close()   INST = retVal   Return INST    End FunctionEnd Class