Frontmatec.UpdateManagement.Windows
0.3.0
dotnet add package Frontmatec.UpdateManagement.Windows --version 0.3.0
NuGet\Install-Package Frontmatec.UpdateManagement.Windows -Version 0.3.0
<PackageReference Include="Frontmatec.UpdateManagement.Windows" Version="0.3.0" />
<PackageVersion Include="Frontmatec.UpdateManagement.Windows" Version="0.3.0" />
<PackageReference Include="Frontmatec.UpdateManagement.Windows" />
paket add Frontmatec.UpdateManagement.Windows --version 0.3.0
#r "nuget: Frontmatec.UpdateManagement.Windows, 0.3.0"
#:package Frontmatec.UpdateManagement.Windows@0.3.0
#addin nuget:?package=Frontmatec.UpdateManagement.Windows&version=0.3.0
#tool nuget:?package=Frontmatec.UpdateManagement.Windows&version=0.3.0
Frontmatec.UpdateManagement.Windows
The Updates window of a WPF app built on Frontmatec.Windows, in English and
Danish: the installed version, the check and what it found, Update and
Restart with the download's progress, and Include prereleases. A menu item
opens it and checks; the check at start, quiet, opens it only for an update.
The check and the download run off the window's thread, and a check that
takes more than 20 seconds is given up.
Use
Register the texts with the update manager:
services.AddUpdateManagement(updates => updates.UseVelopack().AddWindows());
The main window's view model implements IUpdateHost and makes the
UpdateViewModel:
Updates = componentFactory.CreateInstance<UpdateViewModel>(this);
and checks once its window shows:
mainWindow.Updates.CheckAtStart();
In the main window, the menu item:
<MenuItem Command="{Binding Path=Updates.CheckCommand}" Header="{w:Localize UpdateManagement.CheckForUpdates}" />
Texts
The menu item is UpdateManagement.CheckForUpdates, "Check for _Updates...";
the window's texts are the other UpdateManagement.* keys of
Resources.resx and Resources.da.resx.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-windows7.0 is compatible. |
-
net10.0-windows7.0
- Frontmatec.Globalization (>= 2.0.0)
- Frontmatec.UpdateManagement (>= 0.3.0)
- Frontmatec.Windows (>= 3.0.2)
- Microsoft.Extensions.Options (>= 10.0.8)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.