6123a772ed
Former-commit-id: 4b7216ffda08448e562271ce733688e761120fc5
47 lines
2.0 KiB
XML
47 lines
2.0 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)' == 'true'">
|
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
|
</PropertyGroup>
|
|
<ItemGroup Condition="'$(NetStandard)' == 'true'">
|
|
<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)' != 'true'">
|
|
<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)' == '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>
|