Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented May 5, 2025

Backport of #15804 to release/9.0

Since merging roslyn-analyzers into the roslyn repo, Roslyn packages have been generated that include a dependency on Microsoft.CodeAnalysis.Analyzers (a roslyn-analyzer package) with the wrong version. The packages should depend on version 3.11.0 of the M.CA.Analyzers package but the nuspec is being rewritten to require a M.CA.Analyzers package from the same build. This behavior is due to NuGetRepack only using the package name to determine whether to update a dependency version. This PR additionally validates that the dependency version is from the current build prior to updating.

This PR also reenables NuGetRepack tests resolving #3794

@JoeRobich JoeRobich merged commit 1cfa39f into release/9.0 May 5, 2025
11 checks passed
@JoeRobich JoeRobich deleted the backport/pr-15804-to-release/9.0 branch May 5, 2025 22:45
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.

3 participants