forked from angularsen/UnitsNet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUnitsNet.Serialization.JsonNet.csproj
More file actions
56 lines (50 loc) · 2.84 KB
/
UnitsNet.Serialization.JsonNet.csproj
File metadata and controls
56 lines (50 loc) · 2.84 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
<Project Sdk="Microsoft.NET.Sdk">
<!-- NuGet properties -->
<PropertyGroup>
<PackageId>UnitsNet.Serialization.JsonNet</PackageId>
<Version>6.0.0-pre019</Version>
<Authors>Andreas Gullberg Larsen</Authors>
<Title>Units.NET Serialization with Json.NET</Title>
<Description>A helper library for serializing and deserializing types in Units.NET using Json.NET.</Description>
<Copyright>Copyright 2013 Andreas Gullberg Larsen (andreas.larsen84@gmail.com).</Copyright>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<RepositoryUrl>https://github.com/angularsen/UnitsNet</RepositoryUrl>
<PackageIcon>logo-32.png</PackageIcon>
<PackageIconUrl>https://raw.githubusercontent.com/angularsen/UnitsNet/ce85185429be345d77eb2ce09c99d59cc9ab8aed/Docs/Images/logo-32.png</PackageIconUrl>
<PackageProjectUrl>https://github.com/angularsen/UnitsNet</PackageProjectUrl>
<PackageLicenseExpression>MIT-0</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageTags>unit units measurement json Json.NET Newtonsoft serialize deserialize serialization deserialization</PackageTags>
<PackageReleaseNotes>Upgrade JSON.NET to 12.0.3. Support arrays.</PackageReleaseNotes>
</PropertyGroup>
<!-- Assembly and msbuild properties -->
<PropertyGroup>
<!-- Removes any semantic version suffix after the version number and appends ".0", for example "6.0.0-pre014 => "6.0.0.0" -->
<VersionNoSuffix>$([System.Text.RegularExpressions.Regex]::Match($(Version), '^[0-9.]+')).0</VersionNoSuffix>
<AssemblyVersion>6.0.0.0</AssemblyVersion> <!-- Fixed to major version, for strong naming -->
<FileVersion>$(VersionNoSuffix)</FileVersion> <!-- Match the NuGet version number, except any suffix in the semantic version. -->
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<RootNamespace>UnitsNet.Serialization.JsonNet</RootNamespace>
<TargetFrameworks>netstandard2.0;net8.0;net9.0;net10.0</TargetFrameworks>
<IsAotCompatible Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))">true</IsAotCompatible>
</PropertyGroup>
<!-- Strong name signing -->
<PropertyGroup>
<AssemblyOriginatorKeyFile>../UnitsNet.snk</AssemblyOriginatorKeyFile>
<DelaySign>false</DelaySign>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<!-- NuGet references that work for both signed and unsigned -->
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" />
</ItemGroup>
<!-- Project references, will also generate the corresponding nuget dependencies -->
<ItemGroup>
<ProjectReference Include="..\UnitsNet\UnitsNet.csproj" />
</ItemGroup>
<!-- Files to include in nuget package -->
<ItemGroup>
<None Include="../Docs/Images/logo-32.png" Pack="true" PackagePath="/" />
</ItemGroup>
</Project>