forked from IronLanguages/ironpython3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIronPythonTest.csproj
More file actions
51 lines (41 loc) · 1.83 KB
/
IronPythonTest.csproj
File metadata and controls
51 lines (41 loc) · 1.83 KB
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net46;netcoreapp2.1;netcoreapp3.1</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\IronPython\IronPython.csproj" />
</ItemGroup>
<ItemGroup Condition=" '$(IsFullFramework)' == 'true' ">
<Reference Include="System.Xaml" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="NUnitLite" Version="3.12.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Cases\*.ini" />
</ItemGroup>
<ItemGroup>
<!-- ensure ClrAssembly is built before IronPythonTest -->
<ProjectReference Include="..\DLR\Tests\ClrAssembly\ClrAssembly.csproj">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
<Target Name="CopyRowanTestFiles" AfterTargets="AfterBuild">
<ItemGroup>
<RowanTestFiles Include="..\DLR\bin\$(Configuration)\net45\rowantest.*.dll" Condition=" '$(TargetFramework)' == 'net46' " />
<RowanTestFiles Include="..\DLR\bin\$(Configuration)\netstandard2.0\rowantest.*.dll" Condition=" '$(TargetFramework)' != 'net46' " />
</ItemGroup>
<Copy SourceFiles="@(RowanTestFiles)" DestinationFolder="$(TargetDir)" />
</Target>
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<Import Project="$(AfterTargetFiles)" />
<Target Name="AfterBuildEnds" AfterTargets="AfterBuild" DependsOnTargets="$(AfterTargets)" />
</Project>