Skip to content

UpdateManager.GitHubUpdateManager System.AggregateException when latest release is pre-release #1007

Open
@FrozenSoda

Description

@FrozenSoda

Hello, in my application CSClock (https://github.com/steel9/CSClock), when executing this code, and when the latest release is a pre-release, this error message shows up: https://gyazo.com/50928b19d4e77d174b5a7f8c34c195f7
But when latest release is not a pre-release, my program is just starting hanging on the startup? (no GUI shows). I think the problem has to do with the updater, as this hanging-issue doesn't happen when latest release is a pre-release.

You can check all of the code in my repo, but here is the update code in my application.
Code:

using (var mgr = UpdateManager.GitHubUpdateManager("https://github.com/steel9/CSClock"))
{
          try
          {
                await mgr.Result.UpdateApp();
          }
          catch (Exception ex)
          {
               //exception handling here
          }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug:needs-more-informationIssues that need more information from the submitter to understand or reproduce the problembug:old-versionIssues that target a very old version of the library, and should be retested if possible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions