8000 Adopt assembly versioning scheme 'major.minor.0.0' by stakx · Pull Request #554 · devlooped/moq · GitHub
[go: up one dir, main page]

Skip to content

Adopt assembly versioning scheme 'major.minor.0.0' - #554

Merged
stakx merged 1 commit into
devlooped:masterfrom
stakx:assemblyversion
Dec 17, 2017
Merged

stakx merged 1 commit into
devlooped:masterfrom
stakx:assemblyversion

Conversation

@stakx
@stakx stakx commented Dec 17, 2017 •
Copy link
Copy Markdown
Contributor

The rationale behind this is that we don't want changes in the patch version to result in a different strong name; patches should be in-place updates and shouldn't lead to version conflicts.

This will help reduce the need for assembly binding redirects.

For now, we only do 'major.minor.0.0' instead of 'major.0.0.0' (which would be even better).

For the next release, we'll have to increase the minor version by 1 to rule out strange-looking binding redirects like these:

4.0.0.0 - 4.7.145.0  ->  4.0.0.0
4.0.0.0 - 4.7.145.0  ->  4.7.0.0

In both cases, the following will probably look less suspicious:

4.0.0.0 - 4.7.145.0  ->  4.8.0.0

Moq 5 will be able to safely make the switch to 'major.0.0.0'.

This closes #424.

The rationale behind this is that we don't want changes in the patch
version to result in a different strong name; patches should be in-
place updates and shouldn't lead to version conflicts.

This will help reduce the need for assembly binding redirects.

For now, we only do 'major.minor.0.0' instead of 'major.0.0.0' (which
would be even better).

For the next release, we'll have to increase the minor version by 1
to rule out strange-looking binding redirects like these:

    4.0.0.0 - 4.7.145.0  ->  4.0.0.0
    4.0.0.0 - 4.7.145.0  ->  4.7.0.0

In both cases, the following will probably look less suspicious:

    4.0.0.0 - 4.7.145.0  ->  4.8.0.0

Moq 5 will be able to safely make the switch to 'major.0.0.0'.
@stakx
stakx merged commit a1b01af into devlooped:master Dec 17, 2017
@stakx
stakx deleted the assemblyversion branch December 17, 2017 09:55
@devlooped devlooped locked and limited conversation to collaborators Sep 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider changing [AssemblyVersion] to major version only (4.0.0.0) to save users from having to configure assembly version redirects

1 participant

0