Repository navigation
Expand file tree
/
Copy pathIronPythonTest.csproj
More file actions
53 lines (53 loc) · 2.4 KB
/
Copy pathIronPythonTest.csproj
File metadata and controls
53 lines (53 loc) · 2.4 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
52
53
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="$(ProjectDir)..\..\Build\Common.proj" />
<PropertyGroup>
<TargetFrameworks>net45;netcoreapp2.0</TargetFrameworks>
<PlatformTarget>x64</PlatformTarget>
<ProjectGuid>{B6B42537-07F8-4F6C-A99A-B155CAEB124E}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>IronPythonTest</RootNamespace>
<AssemblyName>IronPythonTest</AssemblyName>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\IronPython\IronPython.csproj" />
</ItemGroup>
<ItemGroup Condition=" '$(IsFullFramework)' == 'true' and '$(TargetFramework)' != 'netcoreapp2.0'">
<Reference Include="System.Xaml" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="NUnit.ConsoleRunner" Version="3.7.0" />
<PackageReference Include="NUnitLite" Version="3.8.1" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.8.0" />
<PackageReference Include="Mono.Cecil" Version="0.10.0-beta6" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Cases\IronPythonCasesManifest.ini" />
<EmbeddedResource Include="Cases\AllCPythonCasesManifest.ini" />
<EmbeddedResource Include="Cases\StandardCPythonCasesManifest.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)\$(TargetFramework)\rowantest.*.dll" />
</ItemGroup>
<Copy SourceFiles="@(RowanTestFiles)" DestinationFolder="$(TargetDir)" />
</Target>
<Import Project="$(BeforeTargetFiles)" />
<Target Name="BeforeBuildStarts" BeforeTargets="BeforeBuild" DependsOnTargets="$(BeforeTargets);GenerateCurrentVersion" />
<ItemGroup>
<!-- if the file does not exist it's not picked up automatically -->
<Compile Remove="Properties\CurrentVersion.Generated.cs" />
<Compile Remove="Properties\BuildInfo.Generated.cs" />
</ItemGroup>
<Import Project="$(AfterTargetFiles)" />
<Target Name="AfterBuildEnds" AfterTargets="AfterBuild" DependsOnTargets="$(AfterTargets)" />
</Project>