Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/linker
diff options
context:
space:
mode:
authorSven Boemer <sbomer@gmail.com>2017-09-09 02:24:00 +0300
committerMarek Safar <marek.safar@gmail.com>2017-09-11 12:26:53 +0300
commite0bbc7e8791fef65a2d2dd849cd4dd0826c74300 (patch)
treef699a6ea22231c57c41e035b6a8c309d343a6681 /linker
parent1f7efb2b9836ef18f46e17402256e2f03041a464 (diff)
Build cecil in desktop configuration for net46 target
The linker depends on cecil, shipping with a netstandard1.3 build of Mono.Cecil. Some of the reference assemblies for netstandard1.3 have lower versions than the implementation shims that forward types to mscorlib on desktop. To run the linker on desktop, we need to ensure that this version mismatch doesn't cause binding problems. This is the same issue described in https://github.com/dotnet/corefx/issues/16322. Because illink ships as an msbuild task, we can't use binding redirects (msbuild doesn't respect them) to fix this. One option is to implement a custom AssemblyResolve event hook, but this is not robust because it may cause problems when used in combination with other msbuild tasks. Instead, we avoid the version mismatch by using a build of cecil that targets net46 directly, so that we don't need to ship with shims for System.IO.FileSystem.dl and other assemblies.
Diffstat (limited to 'linker')
0 files changed, 0 insertions, 0 deletions