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
                    
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.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Frontmatec.UpdateManagement.Windows" Version="0.3.0" />
                    
Directory.Packages.props
<PackageReference Include="Frontmatec.UpdateManagement.Windows" />
                    
Project file
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.3.0
                    
#r "nuget: Frontmatec.UpdateManagement.Windows, 0.3.0"
                    
#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.3.0
                    
#: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.3.0
                    
Install as a Cake Addin
#tool nuget:?package=Frontmatec.UpdateManagement.Windows&version=0.3.0
                    
Install as a Cake Tool

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 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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.3.0 57 10/20/2026
0.2.0 49 10/20/2026
0.1.1 50 10/20/2026
0.1.0 43 10/20/2026