Skip to content

ParseUpdateInfoEvent prevents default XML deserialization when no custom parsing is intended #750

@shuwaki

Description

@shuwaki

Summary

When a handler is attached to AutoUpdater.ParseUpdateInfoEvent — even if only for logging or inspection — the built-in XML deserialization logic is bypassed, causing UpdateInfoEventArgs to remain null unless the handler explicitly assigns it. This can lead to silent update failures or exceptions.

Steps to Reproduce

Attach an empty or logging-only handler to ParseUpdateInfoEvent.

Call AutoUpdater.Start(updateXmlUrl).

Observe that args.UpdateInfo is null and update check fails.

Expected Behavior
If the handler does not assign args.UpdateInfo, AutoUpdater.NET should still fall back to its internal XML parsing logic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions