Info
Version: | 1.2.2 |
Author(s): | Daniel Schroeder, iQmetrix |
Last Update: | Friday, September 27, 2024 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/deadlydog/AutoUpdateProjectsMinimumRequiredClickOnceVersion |
NuGet Url: | https://www.nuget.org/packages/AutoUpdateProjectsMinimumRequiredClickOnceVersion |
Install
Install-Package AutoUpdateProjectsMinimumRequiredClickOnceVersion
dotnet add package AutoUpdateProjectsMinimumRequiredClickOnceVersion
paket add AutoUpdateProjectsMinimumRequiredClickOnceVersion
AutoUpdateProjectsMinimumRequiredClickOnceVersion Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
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.