AutoUpdateProjectsMinimumRequiredClickOnceVersion 1.0.7
dotnet add package AutoUpdateProjectsMinimumRequiredClickOnceVersion --version 1.0.7
NuGet\Install-Package AutoUpdateProjectsMinimumRequiredClickOnceVersion -Version 1.0.7
<PackageReference Include="AutoUpdateProjectsMinimumRequiredClickOnceVersion" Version="1.0.7" />
paket add AutoUpdateProjectsMinimumRequiredClickOnceVersion --version 1.0.7
#r "nuget: AutoUpdateProjectsMinimumRequiredClickOnceVersion, 1.0.7"
// Install AutoUpdateProjectsMinimumRequiredClickOnceVersion as a Cake Addin #addin nuget:?package=AutoUpdateProjectsMinimumRequiredClickOnceVersion&version=1.0.7 // Install AutoUpdateProjectsMinimumRequiredClickOnceVersion as a Cake Tool #tool nuget:?package=AutoUpdateProjectsMinimumRequiredClickOnceVersion&version=1.0.7
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.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
GitHub repositories
This package is not used by any popular GitHub repositories.
- Fixed syntax error that would only be thrown on some machines.