Frontmatec.UpdateManagement.Windows
0.1.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Frontmatec.UpdateManagement.Windows --version 0.1.1
NuGet\Install-Package Frontmatec.UpdateManagement.Windows -Version 0.1.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Frontmatec.UpdateManagement.Windows" Version="0.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Frontmatec.UpdateManagement.Windows" Version="0.1.1" />
<PackageReference Include="Frontmatec.UpdateManagement.Windows" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Frontmatec.UpdateManagement.Windows --version 0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Frontmatec.UpdateManagement.Windows, 0.1.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Frontmatec.UpdateManagement.Windows@0.1.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Frontmatec.UpdateManagement.Windows&version=0.1.1
#tool nuget:?package=Frontmatec.UpdateManagement.Windows&version=0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Frontmatec.UpdateManagement.Windows
The update check, question and progress of a WPF app built on
Frontmatec.Windows, in English and Danish: once at start, quietly, and from
a menu item. 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 window, the menu item and the status:
<MenuItem Command="{Binding Path=Updates.CheckCommand}" Header="{w:Localize UpdateManagement.CheckForUpdates}" />
<TextBlock Text="{Binding Path=Updates.Status, Mode=OneWay}" />
Texts
| Key | English |
|---|---|
UpdateManagement.CheckForUpdates |
Check for _Updates... |
UpdateManagement.Available |
Version {0} is available. Update and restart now? |
UpdateManagement.UpToDate |
You have the latest version. |
UpdateManagement.Downloading |
Downloading update, {0}% |
UpdateManagement.Restarting |
Restarting... |
UpdateManagement.Failed |
The update failed: {0} Try again later. |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-windows7.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0-windows7.0
- Frontmatec.Globalization (>= 2.0.0)
- Frontmatec.UpdateManagement (>= 0.1.1)
- 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.