forked from Taritsyn/JavaScriptEngineSwitcher
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJavaScriptEngineSwitcher.Core.csproj
More file actions
58 lines (49 loc) · 3.32 KB
/
JavaScriptEngineSwitcher.Core.csproj
File metadata and controls
58 lines (49 loc) · 3.32 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Product>JS Engine Switcher: Core</Product>
<VersionPrefix>3.0.0</VersionPrefix>
<VersionSuffix>beta1</VersionSuffix>
<TargetFrameworks>net40-client;net45;netstandard1.3;netstandard2.0</TargetFrameworks>
<NetStandardImplicitPackageVersion Condition=" '$(TargetFramework)' == 'netstandard1.3' ">1.6.0</NetStandardImplicitPackageVersion>
<OutputType>Library</OutputType>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<DisableDefaultResxToCsConversionTarget>true</DisableDefaultResxToCsConversionTarget>
<Description>JavaScript Engine Switcher determines unified interface for access to the basic features of popular JavaScript engines (MSIE JavaScript Engine for .Net, Microsoft ClearScript.V8, Jurassic, Jint and ChakraCore). This library allows you to quickly and easily switch to using of another JavaScript engine.</Description>
<PackageIconUrl>https://raw.githubusercontent.com/Taritsyn/JavaScriptEngineSwitcher/master/Icons/JavaScriptEngineSwitcher_Core_Logo128x128.png</PackageIconUrl>
<PackageTags>JavaScriptEngineSwitcher;JavaScript;ECMAScript</PackageTags>
<PackageReleaseNotes>1. Format of the error messages was unified;
2. Created a new exception classes: `JsCompilationException`, `JsEngineException`, `JsFatalException`, `JsTimeoutException` and `JsUsageException`. These exceptions are responsible for handling errors, some of which were previously handled by the `JsRuntimeException` class;
3. In the `JsException` class was added two new properties: `Category` and `Description`;
4. From the `JsRuntimeException` class was removed one property - `ErrorCode`;
5. In the `JsRuntimeException` class was added three new properties: `Type`, `DocumentName` and `CallStack`;
6. `JsScriptInterruptedException` class was renamed to the `JsInterruptedException` class and now is inherited from the `JsRuntimeException` class;
7. `JsEngineLoadException` class now is inherited from the `JsEngineException` class;
8. Removed a `EmptyValueException` class;
9. `Format` method of the `JsErrorHelpers` class was renamed to the `GenerateErrorDetails`.</PackageReleaseNotes>
</PropertyGroup>
<Import Project="../../build/common.props" />
<Import Project="../../build/strong-name-signing.props" />
<Import Project="../../build/nuget-metadata.props" />
<ItemGroup>
<PackageReference Include="MSBuild.Sdk.Extras" Version="1.1.0" PrivateAssets="All" />
<PackageReference Include="ResxToCs.MSBuild" Version="1.0.0-alpha5" PrivateAssets="All" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<PackageReference Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.0.0" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
<PackageReference Include="System.ComponentModel.TypeConverter" Version="4.1.0" />
</ItemGroup>
<ItemGroup>
<Content Include="readme.txt">
<PackagePath>readme.txt</PackagePath>
<Pack>true</Pack>
</Content>
</ItemGroup>
<Target Name="СonvertResxToCs" BeforeTargets="BeforeCompile">
<ResxToCsTask InputDirectory="./Resources/" Namespace="$(RootNamespace).Resources" />
</Target>
<Import Project="$(MSBuildSDKExtrasTargets)" Condition="Exists('$(MSBuildSDKExtrasTargets)')" />
</Project>