Skip to content

Conversation

@firsinanton
Copy link

No description provided.

@synhershko
Copy link
Owner

Why do you need Version in a FileUpdateTask?

@firsinanton
Copy link
Author

firsinanton commented Feb 28, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants