Skip to main content
AutoUpdateProjectsMinimumRequiredClickOnceVersion package icon

AutoUpdateProjectsMinimumRequiredClickOnceVersion

Automatically force your ClickOnce app to update itself without prompting the user, making a less obtrusive end-user experience, and guaranteeing they are always using the latest version of the application. Adds a post-build event to the project to run a PowerShell script that updates the ClickOnce project's minimum required version in the .csproj/.vbproj file to the latest published version. Because the PowerShell script modifies the .csproj/.vbproj file outside of Visual Studio, the first time you do a build after publishing a new ClickOnce version, if you have any files from that project open you will be prompted to reload the project. In order to prevent this from closing your open tabs, I recommend installing Scott Hanselman’s Workspace Reloader Visual Studio extension. If it does not seem to be working or causes the build to fail, check the Output window for any errors that may have occurred.

Total Downloads
319.5K
319,490
Published
Sep 27, 2024
Latest stable version

Install

.NET CLI
dotnet add package AutoUpdateProjectsMinimumRequiredClickOnceVersion --version 1.2.2
Package Manager Console
Install-Package AutoUpdateProjectsMinimumRequiredClickOnceVersion -Version 1.2.2
PackageReference
<PackageReference Include="AutoUpdateProjectsMinimumRequiredClickOnceVersion" Version="1.2.2" />

Frameworks

No framework metadata available.

Dependencies

No declared dependencies.

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.