AutoUpdateProjectsMinimumRequiredClickOnceVersion 1.1.0

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.

Install-Package AutoUpdateProjectsMinimumRequiredClickOnceVersion -Version 1.1.0
dotnet add package AutoUpdateProjectsMinimumRequiredClickOnceVersion --version 1.1.0
<PackageReference Include="AutoUpdateProjectsMinimumRequiredClickOnceVersion" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AutoUpdateProjectsMinimumRequiredClickOnceVersion --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AutoUpdateProjectsMinimumRequiredClickOnceVersion, 1.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install AutoUpdateProjectsMinimumRequiredClickOnceVersion as a Cake Addin
#addin nuget:?package=AutoUpdateProjectsMinimumRequiredClickOnceVersion&version=1.1.0

// Install AutoUpdateProjectsMinimumRequiredClickOnceVersion as a Cake Tool
#tool nuget:?package=AutoUpdateProjectsMinimumRequiredClickOnceVersion&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

- Support publish profiles as well (.pubxml) for .Net Core projects.

Dependencies

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.1.0 141 5/6/2021
1.0.8 1,025 3/5/2020
1.0.7 8,553 2/28/2014
1.0.6 1,183 10/28/2013
1.0.5 875 10/28/2013
1.0.4 858 10/26/2013
1.0.3.2 1,065 5/24/2013
1.0.3.1 982 4/9/2013
1.0.3 2,796 3/14/2013
1.0.2.3 901 3/9/2013
1.0.2.2 917 3/9/2013
1.0.2.1 963 3/8/2013
1.0.2 1,021 3/8/2013
1.0.1.4 914 3/8/2013