Skip to content

Created new configuration-option assembly-file-versioning-scheme: - #1130

Merged
JakeGinnivan merged 5 commits into
GitTools:masterfrom
jensbrand:master
May 14, 2017
Merged

JakeGinnivan merged 5 commits into
GitTools:masterfrom
jensbrand:master

Conversation

@jensbrand

Copy link
Copy Markdown
Contributor

Created new configuration-option assembly-file-versioning-scheme: It has the same possible options as assembly-versioning-scheme and it is used for generating the AssamblyFileVersion just in the same matter as the AssemblyVersion.
Since the AssemblyVersion is used for referencing and AssemblyLoading and AssemblyFileVersion is just a representation of the version / build of the assembly, we can now configure both independent.
Default setting is MajorMinorPatch for both options.

This change is discussed in issue: #544

…has the same possible options as assembly-versioning-scheme and it is used for generating the AssamblyFileVersion just in the same matter as the AssemblyVersion.

Since the AssemblyVersion is used for referencing and AssemblyLoading and AssemblyFileVersion is just a representation of the version / build of the assembly, we can now configure both independent.
Default setting is MajorMinorPatch for both options.
@JakeGinnivan
JakeGinnivan self-requested a review February 25, 2017 01:48

@JakeGinnivan JakeGinnivan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, two small comments (changed comment to review comment)

  1. None of the tests actually verify MajorMinorPatchTag, could you change an existing test or just add a new one
  2. It would be great to replace the tabs with spaces to be consistent. We probably should have http://editorconfig.org/ configured to prevent this issue (feel free to add)

@jensbrand

Copy link
Copy Markdown
Contributor Author

I've done the requested changes. One additional test checks the configuration-option (ConfigProviderTests.CanUpdateAssemblyFileVersioningScheme()) and another test checks the result of the possible settings of AssemblyFileVersioningScheme (AssemblyFileVersionTests.ValidateAssemblyFileVersionBuilder()).

@JakeGinnivan
JakeGinnivan merged commit b669e5f into GitTools:master May 14, 2017
@JakeGinnivan

Copy link
Copy Markdown
Contributor

All merged @jensbrand, thanks. Sorry it took so long

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants