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
47 lines (38 loc) · 1.72 KB
/
IronPythonTest.csproj
File metadata and controls
47 lines (38 loc) · 1.72 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net462;netcoreapp3.1;net6.0;net8.0</TargetFrameworks>
<!-- EOL netcoreapp3.1 is used to test netstandard2.0 assemblies -->
<CheckEolTargetFramework>false</CheckEolTargetFramework>
<PreventStaging>true</PreventStaging>
</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.14.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.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)\net462\rowantest.*.dll" Condition=" '$(TargetFramework)' == 'net462' " />
<RowanTestFiles Include="..\DLR\bin\$(Configuration)\netstandard2.0\rowantest.*.dll" Condition=" '$(TargetFramework)' != 'net462' " />
</ItemGroup>
<Copy SourceFiles="@(RowanTestFiles)" DestinationFolder="$(TargetDir)" />
</Target>
<Import Project="$(AfterTargetFiles)" />
<Target Name="AfterBuildEnds" AfterTargets="AfterBuild" DependsOnTargets="$(AfterTargets)" />
</Project>