-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Analyzer assemblies must have a new version with each release #279
Comments
This has bitten me several times lately as well, and I have to restart VS to get the new analyzers running after an update. We can fix this. |
AArnott
pushed a commit
that referenced
this issue
Aug 27, 2024
Bumps [nbgv](https://github.com/dotnet/Nerdbank.GitVersioning) from 3.6.139 to 3.6.141. - [Release notes](https://github.com/dotnet/Nerdbank.GitVersioning/releases) - [Commits](dotnet/Nerdbank.GitVersioning@v3.6.139...v3.6.141) --- updated-dependencies: - dependency-name: nbgv dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description
Currently the analyzers assembly is using a versioning policy where the AssemblyVersion is set to major.minor.0.0. This versioning policy makes it impossible for the build to ensure the correct version of this assembly is used in builds involving mixed version references. Every release of an analyzer assembly must increment the version relative to all previous versions to ensure this does not occur.
📝 This only applies to analyzer assemblies, and not to the main library.
The text was updated successfully, but these errors were encountered: