NAppUpdate
NAppUpdate copied to clipboard
FileUpdateTask serialize/deserialize mismatch: version field is absent
Why do you need Version in a FileUpdateTask?
Why do you need Version in a FileUpdateTask?
For example, for logging.
In my case it is not so necessary, but "version" attribute exists in xml, it appears there while serialization (FeedBuilder\frmMain.cs: 308):
<FileUpdateTask localPath="AlphaFS.dll" lastModified="130677864340000000" fileSize="270336" version="2.0.1.0">
I think this is mismatch, that in one side "version" attribute is serialized, in other does not deserialized. Probably, it would be better to use XmlSerializer class for this purpose to avoid same mismatches.