Skip to content
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

Update binding redirect for System.Reflection.Metadata to match referenced assembly version #7904

Closed
wants to merge 1 commit into from

Conversation

jkoritzinsky
Copy link
Member

Update the binding redirect for System.Reflection.Metadata to match the referenced version of the assembly from the current package reference.

When this is out of date, it causes a lot of pain in consuming repos (in particular in dotnet/sdk and dotnet/runtime). It might be worth some tooling to ensure that this stays up to date.

See dotnet/sdk#27149 for some context.

cc: @rainersigwald

…enced assembly version

Update the binding redirect for System.Reflection.Metadata to match the referenced version of the assembly from the current package reference.

When this is out of date, it causes a lot of pain in consuming repos (in particular in dotnet/sdk and dotnet/runtime). It might be worth some tooling to ensure that this stays up to date.
@am11
Copy link
Member

am11 commented Aug 23, 2022

Also update

<SystemReflectionMetadataVersion>6.0.0</SystemReflectionMetadataVersion>
to 6.0.1 while on it? It is used in eng/Packages.props.

@rainersigwald
Copy link
Member

Updating this requires updating VS, which is a pain. Let's continue discussing in the linked issue why this appears to be necessary and what else we can do about it.

@jkoritzinsky
Copy link
Member Author

I was only updating this as the layout for desktop MSBuild was resolving 6.0.1 from somewhere, and I thought it was coming from MSBuild itself. I'll take a closer look and circle back with a more in-depth summary if what I've found.

@jkoritzinsky
Copy link
Member Author

I've handled this with dotnet/sdk@e552c9b (#27149)

We can revisit this later

@jkoritzinsky jkoritzinsky deleted the jkoritzinsky/srm-br-update branch August 23, 2022 17:02
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