Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Sync ref project references with runtime projects#2878

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

edwardneal
Copy link
Contributor

@edwardnealedwardneal commentedSep 23, 2024
edited
Loading

This PR syncs the references of the reference assemblies with those of their respective runtime assemblies. Doing so enables MSBuild's ResolveAssemblyReferences and GenerateBindingRedirects targets to generate the correct binding redirects - so if a downstream library references a later version of Azure.Core or Azure.Identity, VS will generate binding redirects so that SqlClient will use that later version.

Early testing looks promising and I think it'll resolve the issue - but for now, it just relates to#2541 and to#2082.

This should enable ResolveAssemblyReferences to generate the correct binding redirects.
Copy link
Contributor

@benrr101benrr101 left a comment

Choose a reason for hiding this comment

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

This change seems pretty reasonable to me. Let's get the merge conflicts fixed and make sure the test runs pass and we'll get it merged. Thanks for looking into this!

edwardneal reacted with rocket emoji
@benrr101benrr101 added this to the6.0-preview3 milestoneNov 1, 2024
@edwardneal
Copy link
ContributorAuthor

Thanks@benrr101 - just merged!

@codecovCodecov
Copy link

codecovbot commentedNov 1, 2024
edited
Loading

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.31%. Comparing base(87fa6dc) to head(1aa1508).
Report is 26 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@##             main    #2878      +/-   ##==========================================- Coverage   72.31%   72.31%   -0.01%==========================================  Files         288      288                Lines       59660    59660              ==========================================- Hits        43146    43144       -2- Misses      16514    16516       +2
FlagCoverage Δ
addons92.58% <ø> (ø)
netcore75.41% <ø> (-0.01%)⬇️
netfx70.69% <ø> (-0.01%)⬇️

Flags with carried forward coverage won't be shown.Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report?Share it here.

@mdaiglemdaigle merged commit2fc320b intodotnet:mainNov 11, 2024
76 checks passed
@mdaiglemdaigle added the Code Health 💊Issues/PRs that are targeted to source code quality improvements. labelNov 11, 2024
@edwardnealedwardneal deleted the sync-ref-project-dependencies branchNovember 11, 2024 19:14
@edwardneal
Copy link
ContributorAuthor

@cheenamalhotra can I port this back to the next releases of 5.1 and 5.2? This should let us close#2541 for the remaining supported versions.

@cheenamalhotra
Copy link
Member

Sure, that makes sense.

edwardneal reacted with thumbs up emoji

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

@benrr101benrr101benrr101 approved these changes

@mdaiglemdaiglemdaigle approved these changes

@cheenamalhotracheenamalhotracheenamalhotra approved these changes

Assignees
No one assigned
Labels
Code Health 💊Issues/PRs that are targeted to source code quality improvements.
Projects
None yet
Milestone
6.0-preview3
Development

Successfully merging this pull request may close these issues.

4 participants
@edwardneal@cheenamalhotra@benrr101@mdaigle

[8]ページ先頭

©2009-2025 Movatter.jp