AutoUpdateProjectsMinimumRequiredClickOnceVersion 1.0.6

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.

There is a newer version of this package available.
See the version list below for details.
Install-Package AutoUpdateProjectsMinimumRequiredClickOnceVersion -Version 1.0.6
dotnet add package AutoUpdateProjectsMinimumRequiredClickOnceVersion --version 1.0.6
<PackageReference Include="AutoUpdateProjectsMinimumRequiredClickOnceVersion" Version="1.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AutoUpdateProjectsMinimumRequiredClickOnceVersion --version 1.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

- Added check to make sure user has at least PowerShell v2.0 installed.
- Updated code to process files passed in from the pipeline properly.
- Fixed bug where it wouldn't process all of the files in the current directory properly.


This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.8 394 3/5/2020
1.0.7 7,149 2/28/2014
1.0.6 974 10/28/2013
1.0.5 668 10/28/2013
1.0.4 654 10/26/2013 865 5/24/2013 766 4/9/2013
1.0.3 2,584 3/14/2013 693 3/9/2013 709 3/9/2013 748 3/8/2013
1.0.2 813 3/8/2013 704 3/8/2013