diff options
author | Eric St. John <ericstj@microsoft.com> | 2017-04-12 08:15:38 +0300 |
---|---|---|
committer | Eric St. John <ericstj@microsoft.com> | 2017-04-13 01:11:26 +0300 |
commit | 56b4231e2bbe640e75b365bc15467cab651031cb (patch) | |
tree | 622878047e6157700f884ee300aa033ff1b3e662 /external | |
parent | df579d8531104524aeadd2377a12de67f256545e (diff) |
Add dll to netfx references to force bindingRedirects
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.
Diffstat (limited to 'external')
-rw-r--r-- | external/netfx-conflicts/Configurations.props | 8 | ||||
-rw-r--r-- | external/netfx-conflicts/netfx-conflicts.depproj | 85 |
2 files changed, 93 insertions, 0 deletions
diff --git a/external/netfx-conflicts/Configurations.props b/external/netfx-conflicts/Configurations.props new file mode 100644 index 0000000000..064de9fd71 --- /dev/null +++ b/external/netfx-conflicts/Configurations.props @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <BuildConfigurations> + netfx; + </BuildConfigurations> + </PropertyGroup> +</Project>
\ No newline at end of file diff --git a/external/netfx-conflicts/netfx-conflicts.depproj b/external/netfx-conflicts/netfx-conflicts.depproj new file mode 100644 index 0000000000..0b3b93558f --- /dev/null +++ b/external/netfx-conflicts/netfx-conflicts.depproj @@ -0,0 +1,85 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build" TreatAsLocalProperty="TargetFramework"> + <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> + <PropertyGroup> + <!-- netstandard 1.0 had the lowest version, we'll fallback to 1.1, 1.2, then 1.3 to pick up the lowest version of contracts + that only supported a later netstandard version --> + <TargetFramework>netstandard1.0</TargetFramework> + <NuGetTargetMoniker>.NETStandard,Version=v1.0</NuGetTargetMoniker> + <PackageTargetFallback>netstandard1.1;netstandard1.2;netstandard1.3</PackageTargetFallback> + <NuGetDeploySourceItem>Reference</NuGetDeploySourceItem> + <NugetRuntimeIdentifier>None</NugetRuntimeIdentifier> + </PropertyGroup> + + <ItemGroup> + <_contract Include="Microsoft.CSharp"/> + <_contract Include="System.Collections.Concurrent"/> + <_contract Include="System.Collections"/> + <_contract Include="System.ComponentModel.Annotations"/> + <_contract Include="System.ComponentModel"/> + <_contract Include="System.ComponentModel.EventBasedAsync"/> + <_contract Include="System.Diagnostics.Contracts"/> + <_contract Include="System.Diagnostics.Debug"/> + <_contract Include="System.Diagnostics.Tools"/> + <_contract Include="System.Diagnostics.Tracing"/> + <_contract Include="System.Dynamic.Runtime"/> + <_contract Include="System.Globalization"/> + <_contract Include="System.IO"/> + <_contract Include="System.IO.Compression"/> + <_contract Include="System.Linq"/> + <_contract Include="System.Linq.Expressions"/> + <_contract Include="System.Linq.Parallel"/> + <_contract Include="System.Linq.Queryable"/> + <_contract Include="System.Net.Http"/> + <_contract Include="System.Net.NetworkInformation"/> + <_contract Include="System.Net.Primitives"/> + <_contract Include="System.Net.Requests"/> + <_contract Include="System.Net.WebHeaderCollection"/> + <_contract Include="System.ObjectModel"/> + <_contract Include="System.Reflection"/> + <_contract Include="System.Reflection.Context"/> + <_contract Include="System.Reflection.Emit"/> + <_contract Include="System.Reflection.Emit.ILGeneration"/> + <_contract Include="System.Reflection.Emit.Lightweight"/> + <_contract Include="System.Reflection.Extensions"/> + <_contract Include="System.Reflection.Primitives"/> + <_contract Include="System.Resources.ResourceManager"/> + <_contract Include="System.Runtime"/> + <_contract Include="System.Runtime.Extensions"/> + <_contract Include="System.Runtime.Handles"/> + <_contract Include="System.Runtime.InteropServices"/> + <_contract Include="System.Runtime.InteropServices.WindowsRuntime"/> + <_contract Include="System.Runtime.Numerics"/> + <_contract Include="System.Runtime.Serialization.Json"/> + <_contract Include="System.Runtime.Serialization.Primitives"/> + <_contract Include="System.Runtime.Serialization.Xml"/> + <_contract Include="System.Security.Principal"/> + <_contract Include="System.ServiceModel.Duplex"/> + <_contract Include="System.ServiceModel.Http"/> + <_contract Include="System.ServiceModel.NetTcp"/> + <_contract Include="System.ServiceModel.Primitives"/> + <_contract Include="System.ServiceModel.Security"/> + <_contract Include="System.Text.Encoding"/> + <_contract Include="System.Text.Encoding.Extensions"/> + <_contract Include="System.Text.RegularExpressions"/> + <_contract Include="System.Threading"/> + <_contract Include="System.Threading.Tasks"/> + <_contract Include="System.Threading.Tasks.Parallel"/> + <_contract Include="System.Threading.Timer"/> + <_contract Include="System.Xml.ReaderWriter"/> + <_contract Include="System.Xml.XDocument"/> + <_contract Include="System.Xml.XmlSerializer"/> + <PackageReference Include="@(_contract)"> + <Version>4.3.0</Version> + </PackageReference> + <PackageReference Include="Microsoft.VisualBasic"> + <Version>10.1.0</Version> + </PackageReference> + </ItemGroup> + + <Target Name="DumpVersions" DependsOnTargets="ResolveReferences"> + <Message Text="%(ReferencePath.FusionName)" /> + </Target> + + <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> +</Project> |