-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Add dll to netfx references to force bindingRedirects #18300
Conversation
This dll has a reference to the earliest version of every contract desktop ever shipped. This will ensure that RAR sees conflicts and adds binding redirects.
</ItemGroup> | ||
|
||
<Target Name="DumpVersions" DependsOnTargets="ResolveReferences"> | ||
<Message Text="%(ReferencePath.FusionName)" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did this list of versions look correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Everything followed the 4.0.n0.0 pattern.
src/netfx.force.conflict/dir.props
Outdated
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="..\dir.props" /> | ||
<PropertyGroup> | ||
<AssemblyVersion>0.0.0.0</AssemblyVersion> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any particular reason you are given this assembly version 0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because we should not version it. It won't show up in any typerefs.
src/netfx.force.conflict/dir.props
Outdated
<Import Project="..\dir.props" /> | ||
<PropertyGroup> | ||
<AssemblyVersion>0.0.0.0</AssemblyVersion> | ||
<AssemblyKey>MSFT</AssemblyKey> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not the open key?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can do that. I didn't want to add a new signing problem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The signing problem exists regardless of this assembly.
This dll has a reference to the earliest version of every contract
desktop ever shipped.
This will ensure that RAR sees conflicts and adds binding redirects.
Fixes #7702
/cc @weshaggard