Merge pull request #2732 from radical/asm_remap
authormonojenkins <jo.shields+jenkins@xamarin.com>
Thu, 10 Mar 2016 04:00:18 +0000 (04:00 +0000)
committermonojenkins <jo.shields+jenkins@xamarin.com>
Thu, 10 Mar 2016 04:00:18 +0000 (04:00 +0000)
commit2ed84027d953a310781a6c42ba3027a6b6a60721
tree8cce1ca0c11a60439ed83581025bcbfe8cd455ef
parent3df1a68186f4f14817df6f6d93773a46937d498e
parent100bd760a46811121b4b47ebba941d4fb98486ab
Merge pull request #2732 from radical/asm_remap

Do not remap framework assembly if it's version is higher than the ru…

…ntime version

Currently, assemblies like Microsoft.Build.Framework and
Microsoft.Build.Engine get remapped to the current runtime version, at
load time. This means that if an assembly references the above
assemblies with a version like `14.1.0.0`, then that would get remapped
to `4.0.0.0`. This is incorrect behavior and breaks msbuild. Instead,
now we do the remapping only if the requested version is lower than the
runtime version.