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 4,123 2/28/2014
1.0.6 715 10/28/2013
1.0.5 423 10/28/2013
1.0.4 402 10/26/2013 612 5/24/2013 511 4/9/2013
1.0.3 2,327 3/14/2013 457 3/9/2013 452 3/9/2013 484 3/8/2013
1.0.2 551 3/8/2013 455 3/8/2013
Show less