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
74 lines (64 loc) · 3.09 KB
/
JavaScriptEngineSwitcher.V8.csproj
File metadata and controls
74 lines (64 loc) · 3.09 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Product>JS Engine Switcher: V8</Product>
<VersionPrefix>3.1.6</VersionPrefix>
<TargetFrameworks>net45</TargetFrameworks>
<OutputType>Library</OutputType>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>$(NoWarn);CS1591;NU5125</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 5.6.0).
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>
<PackageIconUrl>https://raw.githubusercontent.com/Taritsyn/JavaScriptEngineSwitcher/master/Icons/JavaScriptEngineSwitcher_V8_Logo128x128.png</PackageIconUrl>
<PackageTags>JavaScriptEngineSwitcher;JavaScript;ECMAScript;V8;ClearScript</PackageTags>
<PackageReleaseNotes>Fixed a error #73 “Trying to Run this in the GAC”.</PackageReleaseNotes>
</PropertyGroup>
<Import Project="../../build/common.props" />
<Import Project="../../build/strong-name-signing.props" />
<Import Project="../../build/nuget-metadata.props" />
<ItemGroup>
<Reference Include="Microsoft.CSharp" Pack="false" />
<Reference Include="ClearScript">
<HintPath>../../lib/ClearScript/lib/net45/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>
<Content Include="readme.txt">
<PackagePath>readme.txt</PackagePath>
<Pack>true</Pack>
</Content>
<Content Include="../../Licenses/advanced-string-builder-license.txt">
<PackagePath>advanced-string-builder-license.txt</PackagePath>
<Pack>true</Pack>
<Visible>false</Visible>
</Content>
<Content Include="../../Licenses/clearscript-license.txt">
<PackagePath>clearscript-license.txt</PackagePath>
<Pack>true</Pack>
<Visible>false</Visible>
</Content>
<Content Include="../../Licenses/v8-license.txt">
<PackagePath>v8-license.txt</PackagePath>
<Pack>true</Pack>
<Visible>false</Visible>
</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">
<PackagePath>lib/%(RecursiveDir)</PackagePath>
<Visible>false</Visible>
<BuildAction>None</BuildAction>
</_PackageFiles>
</ItemGroup>
</Target>
</Project>