-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
983bbf0
commit 6df5ad7
Showing
26 changed files
with
492 additions
and
3,685 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
## Project Version Tools ## | ||
|
||
### Set Project Version ### | ||
|
||
Update a project's Application Version and/or Minimum Required Version. | ||
|
||
#### Application Version #### | ||
|
||
There are three options available for updating the `Application Version`: | ||
|
||
1. **Do not update Application Version** - Application Version will not be updated, will use the value supplied in the project file. | ||
2. **Revision only** - The Major.Minor.Build numbers will be supplied by the project file. Only the revision number will be changed. This will be user-supplied in a text field, and can be a variable. | ||
3. **Custom Application Version** - Set a completely custom Application Version number. Can be a variable or set of variables. | ||
|
||
#### Minimum Required Version #### | ||
|
||
There are three options available for updating the `Minimum Required Version`: | ||
|
||
1. **Do not update Minimum Required Version** - Minimum Required Version will not be updated, will use the value supplied in the project file. | ||
2. **Same as Application Version** - Sets Minimum Application Version to the same value as the Application Version, even if the Application Version is not updated. | ||
3. **Custom Minimum Required Version** - Set a completely custom Minimum Required Version number. Can be a variable or set of variables. | ||
|
||
![Set Project Version](static/images/setversion.png) | ||
|
||
### Get Application Version as Variables ### | ||
|
||
Reads the project file and creates variables from the Application Version, available in a number of formats: | ||
|
||
``` | ||
Version.Major | ||
Version.Minor | ||
Version.Build | ||
Version.Patch (same as Version.Build) | ||
Version.Revision | ||
Version.MajorMinor | ||
Version.MajorMinorBuild | ||
Version.MajorMinorPatch | ||
Version.MajorMinorBuildRevision | ||
Version.MajorMinorPatchRevision | ||
Version.Full (same as Version.MajorMinorBuildRevision) | ||
``` | ||
|
||
An optional prefix can be set so that the task can be used on multiple projects. If the prefix is set to `Fabrikam` then the Application Version variable can be added to another task as `$(Fabrikam.Version.Full)`. | ||
|
||
![Set Project Version](static/images/variables.png) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes
2 changes: 1 addition & 1 deletion
2
setclickonceversion/package.json → setprojectversion/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.