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
44 lines (35 loc) · 1.55 KB
/
Copy pathIronPythonTest.csproj
File metadata and controls
44 lines (35 loc) · 1.55 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net46;netcoreapp2.1;netcoreapp3.1;net5.0</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.8.3" />
<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>
<Import Project="$(AfterTargetFiles)" />
<Target Name="AfterBuildEnds" AfterTargets="AfterBuild" DependsOnTargets="$(AfterTargets)" />
</Project>