Skip to content

Commit 7c2f1a5

Browse files
committed
Updated the documentation some more.
1 parent cfce37f commit 7c2f1a5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

ReadMe.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Description
22
This PowerShell script can be used to update a project file's (.csproj or .vbproj file) ClickOnce version, and to set the Minimum Required Version to the lastest version.
33

4-
Setting the MinimumRequiredVersion property forces the ClickOnce application to update automatically without prompting the user.
4+
This script is useful when publishing your ClickOnce application as part of your build and release system, since normally Visual Studio would automatically handle updating the ClickOnce version for you.
5+
6+
Setting the MinimumRequiredVersion property forces the ClickOnce application to update automatically without prompting the user. If you are simply looking to have the Minimum Required Version update automatically, but still publish your ClickOnce application from Visual Studio, try using the [AutoUpdateProjectsMinimumRequiredClickOnceVersion NuGet Package][AutoUpdateProjectsMinimumRequiredClickOnceVersionNugetPackageWebpage].
57

68

79
# Script Parameters
@@ -48,4 +50,6 @@ Update a project file's ClickOnce Minimum Required Version to match its current
4850
Update a project file's ClickOnce version, ignoring the Revision part and incrementing the Revision stored in the file, and update the Minimum Required Version to be this new version.
4951
```
5052
& .\Set-ProjectFilesClickOnceVersion.ps1 -ProjectFilePath "C:\SomeProject.csproj" -Version '1.2.3' -IncrementProjectFilesRevision -UpdateMinimumRequiredVersionToCurrentVersion
51-
```
53+
```
54+
55+
[AutoUpdateProjectsMinimumRequiredClickOnceVersionNugetPackageWebpage]: https://www.nuget.org/packages/AutoUpdateProjectsMinimumRequiredClickOnceVersion

0 commit comments

Comments
 (0)