-
Notifications
You must be signed in to change notification settings - Fork 49
/
JavaScriptEngineSwitcher.ChakraCore.csproj
100 lines (85 loc) · 4.67 KB
/
JavaScriptEngineSwitcher.ChakraCore.csproj
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Product>JS Engine Switcher: ChakraCore</Product>
<VersionPrefix>3.3.0</VersionPrefix>
<TargetFrameworks>net40-client;net45;net471;netstandard1.3;netstandard2.0;netcoreapp2.1;netstandard2.1</TargetFrameworks>
<NetStandardImplicitPackageVersion Condition=" '$(TargetFramework)' == 'netstandard1.3' ">1.6.0</NetStandardImplicitPackageVersion>
<OutputType>Library</OutputType>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<DisableDefaultResxToCsConversionTarget>true</DisableDefaultResxToCsConversionTarget>
<Description>JavaScriptEngineSwitcher.ChakraCore contains adapter `ChakraCoreJsEngine` (wrapper for the ChakraCore (http://github.com/Microsoft/ChakraCore)). Project was based on the code of Chakra-Samples (http://github.com/Microsoft/Chakra-Samples) and jsrt-dotnet (http://github.com/robpaveza/jsrt-dotnet).
This package does not contain the native implementations of ChakraCore. Therefore, you need to choose and install the most appropriate package(s) for your platform. The following packages are available:
* JavaScriptEngineSwitcher.ChakraCore.Native.win-x86
* JavaScriptEngineSwitcher.ChakraCore.Native.win-x64
* JavaScriptEngineSwitcher.ChakraCore.Native.win-arm
* JavaScriptEngineSwitcher.ChakraCore.Native.linux-x64
* JavaScriptEngineSwitcher.ChakraCore.Native.osx-x64</Description>
<PackageIcon>icon.png</PackageIcon>
<PackageTags>JavaScriptEngineSwitcher;JavaScript;ECMAScript;ChakraCore</PackageTags>
<PackageReleaseNotes>1. Added support of .NET Standard 2.1;
2. Enabled a SourceLink.</PackageReleaseNotes>
</PropertyGroup>
<Import Project="../../build/common.props" />
<Import Project="../../build/net40-client-target.props" />
<Import Project="../../build/strong-name-signing.props" />
<Import Project="../../build/nuget-metadata.props" />
<ItemGroup>
<PackageReference Include="AdvancedStringBuilder" Version="0.1.0" />
<PackageReference Include="ResxToCs.MSBuild" Version="1.0.0-alpha6" PrivateAssets="All" />
<ProjectReference Include="../JavaScriptEngineSwitcher.Core/JavaScriptEngineSwitcher.Core.csproj" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net40-client' ">
<PackageReference Include="PolyfillsForOldDotNet.System.Buffers" Version="0.1.1" />
<PackageReference Include="PolyfillsForOldDotNet.System.Runtime.InteropServices.RuntimeInformation" Version="0.1.1" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<PackageReference Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.0.0" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' Or '$(TargetFramework)' == 'net471' Or '$(TargetFramework)' == 'netstandard1.3' ">
<PackageReference Include="System.Buffers" Version="4.0.0" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="System.Buffers" Version="4.4.0" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
<PackageReference Include="System.Reflection.TypeExtensions" Version="4.1.0" />
<PackageReference Include="System.Threading.Thread" Version="4.0.0" />
</ItemGroup>
<ItemGroup>
<None Include="../../Icons/JavaScriptEngineSwitcher_ChakraCore_Logo128x128.png">
<PackagePath>$(PackageIcon)</PackagePath>
<Pack>true</Pack>
<Visible>false</Visible>
</None>
<None Include="../../Licenses/advanced-string-builder-license.txt">
<PackagePath>advanced-string-builder-license.txt</PackagePath>
<Pack>true</Pack>
<Visible>false</Visible>
</None>
<None Include="../../Licenses/chakra-samples-license.txt">
<PackagePath>chakra-samples-license.txt</PackagePath>
<Pack>true</Pack>
<Visible>false</Visible>
</None>
<None Include="../../Licenses/jsrt-dotnet-license.txt">
<PackagePath>jsrt-dotnet-license.txt</PackagePath>
<Pack>true</Pack>
<Visible>false</Visible>
</None>
<None Include="../../Licenses/polyfills-for-old-dot-net-license.txt">
<PackagePath>polyfills-for-old-dot-net-license.txt</PackagePath>
<Pack>true</Pack>
<Visible>false</Visible>
</None>
<Content Include="readme.txt">
<PackagePath>readme.txt</PackagePath>
<Pack>true</Pack>
</Content>
</ItemGroup>
<Target Name="СonvertResxToCs" BeforeTargets="BeforeCompile">
<ResxToCsTask InputDirectory="./Resources/" Namespace="$(RootNamespace).Resources" InternalAccessModifier="true" />
</Target>
</Project>