blob: 8d83f8eedfb6e05ab5483ed189bac7c3c2e31e71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
<Project DefaultTargets="LinkNative">
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
<Import Project="$(TestRootDir)\dependencies.props" />
<!-- Override Default MSBuild properties-->
<PropertyGroup>
<TargetName>$(ExecutableName)</TargetName>
<TargetExt>.exe</TargetExt>
<OutputType>Exe</OutputType>
</PropertyGroup>
<PropertyGroup>
<ToolsDir>$(FrameworkLibPath)\..\tools\</ToolsDir>
<TargetFramework>netcoreapp2.1</TargetFramework>
<!-- Don't warn if some dependencies were rolled forward -->
<NoWarn>$(NoWarn);NU1603</NoWarn>
</PropertyGroup>
<ItemGroup>
<RdXmlFile Include="default.rd.xml" />
<AppContextSwitchOverrides Include="Switch.System.Enum.RelaxedGetValues" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="xunit.abstractions">
<Version>$(XunitAbstractionsVersion)</Version>
</PackageReference>
<PackageReference Include="xunit.assert">
<Version>$(XunitPackageVersion)</Version>
</PackageReference>
<PackageReference Include="xunit.extensibility.core">
<Version>$(XunitPackageVersion)</Version>
</PackageReference>
<PackageReference Include="xunit.core">
<Version>$(XunitPackageVersion)</Version>
</PackageReference>
<PackageReference Include="xunit.runner.utility">
<Version>$(XunitRunnerUtilityVersion)</Version>
</PackageReference>
<PackageReference Include="xunit.extensibility.execution">
<Version>$(XunitPackageVersion)</Version>
</PackageReference>
<PackageReference Include="microsoft.xunit.netcore.extensions">
<Version>$(XunitNetcoreExtensionsVersion)</Version>
</PackageReference>
<PackageReference Include="CoreFx.Private.TestUtilities">
<Version>$(CoreFxTestUtilitiesVersion)</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
<!-- Some tests consist of multiple assemblies - make sure ILC sees them -->
<IlcCompileInput Include="$(MSBuildProjectDirectory)\*.dll" />
</ItemGroup>
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
<!-- Set OutputPath after the SDK targets have been imported-->
<PropertyGroup>
<OutputPath>$(MSBuildProjectDirectory)\</OutputPath>
<IntermediateOutputPath>$(MSBuildProjectDirectory)\</IntermediateOutputPath>
</PropertyGroup>
<!-- Switch RuntimeIdentifier according to currently running OSGroup -->
<PropertyGroup>
<RuntimeIdentifier Condition="'$(OSGroup)' == 'Windows_NT'">win-x64</RuntimeIdentifier>
<RuntimeIdentifier Condition="'$(OSGroup)' == 'Linux'">linux-x64</RuntimeIdentifier>
<RuntimeIdentifier Condition="'$(OSGroup)' == 'OSX'">osx-x64</RuntimeIdentifier>
</PropertyGroup>
<!-- Import CoreRT build targets -->
<Import Project="$(IlcPath)\build\Microsoft.NETCore.Native.targets" />
<!-- Since tests are already compiled, override Compile target to prevent CSC running -->
<Target Name="Compile" />
</Project>
|