Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Force shim assembly references to 0.0.0.0#17363

Merged
stephentoub merged 1 commit intodotnet:masterfrom
weshaggard:ClearAssemblyReferenceVersion
Mar 22, 2017
Merged

Force shim assembly references to 0.0.0.0#17363
stephentoub merged 1 commit intodotnet:masterfrom
weshaggard:ClearAssemblyReferenceVersion

Conversation

@weshaggard
Copy link
Copy Markdown
Member

The shims will end up being pulled into assembly closures where sometimes
they will have a higher version of a dependency then what is actually needed.
This causes msbuild (RAR) to output warnings which are just noise. For shims
we really don't need the refenced to match exact versions so we can always force
them to be the lowest version 0.0.0.0 and they will unify up to what is on
the platform.

cc @ericstj

I did some ad-hoc testing of this and verified that msbuild (RAR) no longer warns after this change it does AutoUnify and if that isn't enabled will cause a bunch of conflict warnings, but that is larger then just the shims.

The shims will end up being pulled into assembly closures where sometimes
they will have a higher version of a dependency then what is actually needed.
This causes msbuild (RAR) to output warnings which are just noise. For shims
we really don't need the refenced to match exact versions so we can always force
them to be the lowest version 0.0.0.0 and they will unify up to what is on
the platform.
@ericstj
Copy link
Copy Markdown
Member

ericstj commented Mar 22, 2017

LGTM

@stephentoub stephentoub merged commit a4fd75c into dotnet:master Mar 22, 2017
@karelz karelz modified the milestone: 2.0.0 Mar 25, 2017
@weshaggard weshaggard deleted the ClearAssemblyReferenceVersion branch May 10, 2017 19:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants