e46a49ecf1
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
50 lines
2.1 KiB
XML
50 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<BuildDirectory>$(MSBuildProjectDirectory)</BuildDirectory>
|
|
<IsTestProject>true</IsTestProject>
|
|
</PropertyGroup>
|
|
<Import Project="Mono.Cecil.props" />
|
|
<PropertyGroup Condition="$(NetStandard)">
|
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="!$(NetStandard)">
|
|
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
|
|
</PropertyGroup>
|
|
<ItemGroup Condition="$(NetStandard)">
|
|
<PackageReference Include="NUnit">
|
|
<Version>3.7.1</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk">
|
|
<Version>15.3.0</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="NUnit3TestAdapter">
|
|
<Version>3.8.0</Version>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
<ItemGroup Condition="!$(NetStandard)">
|
|
<Reference Include="nunit.core">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
<HintPath>$(MSBuildThisFileDirectory)\Test\libs\nunit-2.6.2\nunit.core.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="nunit.core.interfaces">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
<HintPath>$(MSBuildThisFileDirectory)\Test\libs\nunit-2.6.2\nunit.core.interfaces.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="nunit.framework">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
<HintPath>$(MSBuildThisFileDirectory)\Test\libs\nunit-2.6.2\nunit.framework.dll</HintPath>
|
|
</Reference>
|
|
</ItemGroup>
|
|
<!-- Workaround for https://github.com/Microsoft/msbuild/issues/1310 -->
|
|
<Target Name="ForceGenerationOfBindingRedirects"
|
|
AfterTargets="ResolveAssemblyReferences"
|
|
BeforeTargets="GenerateBindingRedirects"
|
|
Condition="$(AutoGenerateBindingRedirects)">
|
|
<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>
|