|
|
|
@ -12,4 +12,16 @@ |
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp1.1'"> |
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" /> |
|
|
|
</ItemGroup> |
|
|
|
<PropertyGroup> |
|
|
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> |
|
|
|
</PropertyGroup> |
|
|
|
<Target Name="ForceGenerationOfBindingRedirects" |
|
|
|
AfterTargets="ResolveAssemblyReferences" |
|
|
|
BeforeTargets="GenerateBindingRedirects" |
|
|
|
Condition="'$(AutoGenerateBindingRedirects)' == 'true'"> |
|
|
|
<PropertyGroup> |
|
|
|
<!-- Needs to be set in a target because it has to be set after the initial evaluation in the common targets --> |
|
|
|
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType> |
|
|
|
</PropertyGroup> |
|
|
|
</Target> |
|
|
|
</Project> |
|
|
|
|