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.

There is a newer version of this package available.
See the version list below for details.
Install-Package AutoUpdateProjectsMinimumRequiredClickOnceVersion -Version
dotnet add package AutoUpdateProjectsMinimumRequiredClickOnceVersion --version
paket add AutoUpdateProjectsMinimumRequiredClickOnceVersion --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Changed powershell script to run using -NoProfile.


This package has no dependencies.

Version History

Version Downloads Last updated
1.0.7 3,637 2/28/2014
1.0.6 591 10/28/2013
1.0.5 277 10/28/2013
1.0.4 275 10/26/2013 460 5/24/2013 364 4/9/2013
1.0.3 2,208 3/14/2013 334 3/9/2013 329 3/9/2013 340 3/8/2013
1.0.2 367 3/8/2013 327 3/8/2013
Show less