-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathJavaScriptEngineSwitcher.V8.csproj
More file actions
48 lines (39 loc) · 2.4 KB
/
JavaScriptEngineSwitcher.V8.csproj
File metadata and controls
48 lines (39 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Product>JS Engine Switcher: V8</Product>
<VersionPrefix>3.31.0</VersionPrefix>
<TargetFrameworks>net462;net471;netstandard2.1;netcoreapp3.1;net5.0;net10.0</TargetFrameworks>
<OutputType>Library</OutputType>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>$(NoWarn);CS1591;NU1903</NoWarn>
<ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<DisableDefaultResxToCsConversionTarget>true</DisableDefaultResxToCsConversionTarget>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
</PropertyGroup>
<Import Project="../../build/common.props" />
<Import Project="../../build/strong-name-signing.props" />
<Import Project="../../build/nuget-for-dotnet-lib.props" />
<PropertyGroup>
<PackageIconUrl>https://raw.githubusercontent.com/Taritsyn/JavaScriptEngineSwitcher/master/Icons/JavaScriptEngineSwitcher_V8_Logo128x128.png</PackageIconUrl>
<PackageIconFullPath>../../Icons/JavaScriptEngineSwitcher_V8_Logo128x128.png</PackageIconFullPath>
<Description>JavaScriptEngineSwitcher.V8 contains a `V8JsEngine` adapter (wrapper for the Microsoft ClearScript.V8).</Description>
<PackageTags>$(PackageCommonTags);V8;ClearScript</PackageTags>
<PackageReleaseNotes>1. Performed a migration to the modern C# null/not-null checks;
2. Added support for .NET 10;
3. Reduced a memory allocation by using collection expressions.</PackageReleaseNotes>
</PropertyGroup>
<ItemGroup>
<Reference Condition=" '$(TargetFramework)' == 'net462' Or '$(TargetFramework)' == 'net471' " Include="Microsoft.CSharp" Pack="false" />
<PackageReference Include="Microsoft.ClearScript.V8" Version="7.5.0" />
<PackageReference Include="ResxToCs.MSBuild" Version="1.0.0-alpha7" PrivateAssets="All" />
<ProjectReference Include="../JavaScriptEngineSwitcher.Core/JavaScriptEngineSwitcher.Core.csproj" />
</ItemGroup>
<ItemGroup>
<None Include="../../Licenses/clearscript-license.txt" PackagePath="/" Pack="true" Visible="false" />
<None Include="../../Licenses/v8-license.txt" PackagePath="/" Pack="true" Visible="false" />
</ItemGroup>
<Target Name="ConvertResxToCs" BeforeTargets="BeforeCompile">
<ResxToCsTask InputDirectory="./Resources/" Namespace="$(RootNamespace).Resources" InternalAccessModifier="true" />
</Target>
</Project>