forked from Taritsyn/JavaScriptEngineSwitcher
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJavaScriptEngineSwitcher.Tests.csproj
More file actions
83 lines (70 loc) · 4.6 KB
/
JavaScriptEngineSwitcher.Tests.csproj
File metadata and controls
83 lines (70 loc) · 4.6 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Product>JS Engine Switcher: Tests</Product>
<VersionPrefix>3.32.0</VersionPrefix>
<TargetFrameworks>net462;net471;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0;net9.0;net10.0</TargetFrameworks>
<OutputType>Library</OutputType>
<LangVersion>latest</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<TestTfmsInParallel>false</TestTfmsInParallel>
<IsTestProject>true</IsTestProject>
<IsPackable>false</IsPackable>
</PropertyGroup>
<Import Project="../../build/common.props" />
<PropertyGroup Condition=" '$(TargetFramework)' != 'netcoreapp3.1' And '$(TargetFramework)' != 'net5.0' And '$(TargetFramework)' != 'net6.0' And '$(TargetFramework)' != 'net7.0' ">
<DefineConstants>$(DefineConstants);NIL_JS</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="xunit" VersionOverride="2.9.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" VersionOverride="17.13.0" />
<PackageReference Include="JavaScriptEngineSwitcher.ChakraCore.Native.win-arm" />
<PackageReference Include="JavaScriptEngineSwitcher.ChakraCore.Native.win-arm64" />
<PackageReference Include="JavaScriptEngineSwitcher.ChakraCore.Native.win-x64" />
<PackageReference Include="JavaScriptEngineSwitcher.ChakraCore.Native.win-x86" />
<PackageReference Include="Microsoft.ClearScript.V8.Native.win-arm64" />
<PackageReference Include="Microsoft.ClearScript.V8.Native.win-x64" />
<PackageReference Include="Microsoft.ClearScript.V8.Native.win-x86" />
<ProjectReference Include="../../src/JavaScriptEngineSwitcher.ChakraCore/JavaScriptEngineSwitcher.ChakraCore.csproj" />
<ProjectReference Include="../../src/JavaScriptEngineSwitcher.Core/JavaScriptEngineSwitcher.Core.csproj" />
<ProjectReference Include="../../src/JavaScriptEngineSwitcher.Jint/JavaScriptEngineSwitcher.Jint.csproj" />
<ProjectReference Include="../../src/JavaScriptEngineSwitcher.Jurassic/JavaScriptEngineSwitcher.Jurassic.csproj" />
<ProjectReference Include="../../src/JavaScriptEngineSwitcher.Msie/JavaScriptEngineSwitcher.Msie.csproj" />
<ProjectReference Include="../../src/JavaScriptEngineSwitcher.Node/JavaScriptEngineSwitcher.Node.csproj" />
<ProjectReference Include="../../src/JavaScriptEngineSwitcher.V8/JavaScriptEngineSwitcher.V8.csproj" />
<ProjectReference Include="../../src/JavaScriptEngineSwitcher.Vroom/JavaScriptEngineSwitcher.Vroom.csproj" />
<ProjectReference Include="../../src/JavaScriptEngineSwitcher.Yantra/JavaScriptEngineSwitcher.Yantra.csproj" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net462' Or '$(TargetFramework)' == 'net471' ">
<Reference Include="System.Drawing" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' Or '$(TargetFramework)' == 'net5.0' ">
<PackageReference Include="xunit.runner.visualstudio" VersionOverride="2.4.5" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' != 'netcoreapp3.1' And '$(TargetFramework)' != 'net5.0' ">
<PackageReference Include="xunit.runner.visualstudio" VersionOverride="2.8.2" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' != 'netcoreapp3.1' And '$(TargetFramework)' != 'net5.0' And '$(TargetFramework)' != 'net6.0' And '$(TargetFramework)' != 'net7.0' ">
<ProjectReference Include="../../src/JavaScriptEngineSwitcher.NiL/JavaScriptEngineSwitcher.NiL.csproj" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' != 'net462' And '$(TargetFramework)' != 'net471' ">
<PackageReference Include="JavaScriptEngineSwitcher.ChakraCore.Native.linux-x64" />
<PackageReference Include="JavaScriptEngineSwitcher.ChakraCore.Native.osx-x64" />
<PackageReference Include="Microsoft.ClearScript.V8.Native.linux-arm" />
<PackageReference Include="Microsoft.ClearScript.V8.Native.linux-arm64" />
<PackageReference Include="Microsoft.ClearScript.V8.Native.linux-x64" />
<PackageReference Include="Microsoft.ClearScript.V8.Native.osx-arm64" />
<PackageReference Include="Microsoft.ClearScript.V8.Native.osx-x64" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources/*.js" />
</ItemGroup>
<ItemGroup>
<Content Include="Files/**/*.*">
<Link>Files/%(RecursiveDir)/%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
</ItemGroup>
</Project>