I've got a class with a version (which actually contains the Version
class) property.
Like I said, version contains an instance of Version, which looks like this:
- Version
- Build: 111
- Major: 1
- MajorRevision: 0
- Minor: 1
- MinorRevision: 10
- Revision: 10
When I serialize the class, version is always empty:
<Version />
The Client-class looks like:
[Serializable]
public class Client
{
public string Description;
public string Directory;
public DateTime ReleaseDate;
public Version Version;
}