forked from Taritsyn/JavaScriptEngineSwitcher
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJavaScriptEngineSwitcher.V8.csproj
More file actions
80 lines (69 loc) · 3.42 KB
/
JavaScriptEngineSwitcher.V8.csproj
File metadata and controls
80 lines (69 loc) · 3.42 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Product>JS Engine Switcher: V8</Product>
<VersionPrefix>3.5.3</VersionPrefix>
<TargetFrameworks>net45;netcoreapp3.1</TargetFrameworks>
<OutputType>Library</OutputType>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<DisableDefaultResxToCsConversionTarget>true</DisableDefaultResxToCsConversionTarget>
<Description>JavaScriptEngineSwitcher.V8 contains adapter `V8JsEngine` (wrapper for the Microsoft ClearScript.V8 (http://github.com/Microsoft/ClearScript) version 6.0.1).
This package does not contain the native ClearScript and V8 assemblies. Therefore, you need to choose and install the most appropriate package(s) for your platform. The following packages are available:
* JavaScriptEngineSwitcher.V8.Native.win-x86
* JavaScriptEngineSwitcher.V8.Native.win-x64</Description>
<PackageIcon>icon.png</PackageIcon>
<PackageTags>JavaScriptEngineSwitcher;JavaScript;ECMAScript;V8;ClearScript</PackageTags>
<PackageReleaseNotes>Fixed a error that caused incorrect generation of error description for an `JsEngineLoadException` exception.</PackageReleaseNotes>
</PropertyGroup>
<Import Project="../../build/common.props" />
<Import Project="../../build/strong-name-signing.props" />
<Import Project="../../build/nuget-metadata.props" />
<ItemGroup>
<Reference Condition=" '$(TargetFramework)' == 'net45' " Include="Microsoft.CSharp" Pack="false" />
<Reference Include="ClearScript">
<HintPath>../../lib/ClearScript/lib/$(TargetFramework)/ClearScript.dll</HintPath>
</Reference>
<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>
<None Include="../../Icons/JavaScriptEngineSwitcher_V8_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/clearscript-license.txt">
<PackagePath>clearscript-license.txt</PackagePath>
<Pack>true</Pack>
<Visible>false</Visible>
</None>
<None Include="../../Licenses/v8-license.txt">
<PackagePath>v8-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>
<Target Name="AddAdditionalAssembliesToPackage" BeforeTargets="GenerateNuspec">
<ItemGroup>
<_PackageFiles Include="bin/$(Configuration)/*/ClearScript.dll;bin/$(Configuration)/*/ClearScript.xml">
<PackagePath>lib/%(RecursiveDir)</PackagePath>
<Visible>false</Visible>
<BuildAction>None</BuildAction>
</_PackageFiles>
</ItemGroup>
</Target>
</Project>