88 lines
4.2 KiB
XML
88 lines
4.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
||
|
||
<PropertyGroup>
|
||
<TargetFrameworks>netstandard2.1;netstandard2.0;net45;net48;netstandard1.5;net40;net35;net20;net6.0;net8.0</TargetFrameworks>
|
||
</PropertyGroup>
|
||
|
||
<PropertyGroup>
|
||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||
<DebugType>embedded</DebugType>
|
||
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
||
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
||
<SourceLinkCreate Condition="'$(OS)' == 'Windows_NT'">true</SourceLinkCreate>
|
||
<PackageReadmeFile>README.md</PackageReadmeFile>
|
||
</PropertyGroup>
|
||
|
||
<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
|
||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="all" />
|
||
<DotNetCliToolReference Include="dotnet-sourcelink-git" Version="2.8.3" />
|
||
<DotNetCliToolReference Include="dotnet-sourcelink" Version="2.8.3" />
|
||
</ItemGroup>
|
||
|
||
<PropertyGroup>
|
||
<PackageId>LitJson</PackageId>
|
||
<Description>A .NET library to handle conversions from and to JSON (JavaScript Object Notation) strings. Written in C#, and it’s intended to be small, fast and easy to use.
|
||
It's quick and lean, without external dependencies.</Description>
|
||
<Copyright>The authors disclaim copyright to this source code.</Copyright>
|
||
<Authors>Leonardo Boshell, Mattias Karlsson and contributors</Authors>
|
||
<Company>Leonardo Boshell, Mattias Karlsson and contributors</Company>
|
||
<PackageLicenseExpression>Unlicense</PackageLicenseExpression>
|
||
<PackageIcon>litjson.png</PackageIcon>
|
||
<RepositoryUrl>https://github.com/LitJSON/litjson</RepositoryUrl>
|
||
<RepositoryType>git</RepositoryType>
|
||
<PackageTags>JSON;Serializer</PackageTags>
|
||
<IncludeSource>true</IncludeSource>
|
||
</PropertyGroup>
|
||
|
||
<ItemGroup>
|
||
<None Include="litjson.png" Pack="true" PackagePath="" />
|
||
</ItemGroup>
|
||
|
||
<PropertyGroup Condition="'$(TargetFramework)' == 'net20' ">
|
||
<DefineConstants>$(DefineConstants);LEGACY</DefineConstants>
|
||
</PropertyGroup>
|
||
|
||
<PropertyGroup Condition="'$(TargetFramework)' == 'net35' ">
|
||
<DefineConstants>$(DefineConstants);LEGACY</DefineConstants>
|
||
</PropertyGroup>
|
||
|
||
<PropertyGroup Condition="'$(TargetFramework)' == 'net40' ">
|
||
<DefineConstants>$(DefineConstants);LEGACY</DefineConstants>
|
||
</PropertyGroup>
|
||
|
||
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.5' ">
|
||
<PackageReference Include="System.Collections.NonGeneric" Version="4.3.0" />
|
||
<PackageReference Include="System.Collections.Specialized" Version="4.3.0" />
|
||
<PackageReference Include="System.Reflection" Version="4.3.0" />
|
||
<PackageReference Include="System.Reflection.TypeExtensions" Version="4.7.0" />
|
||
</ItemGroup>
|
||
|
||
<ItemGroup>
|
||
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies.net20" Version="1.0.3" Condition="'$(TargetFramework)' == 'net20' ">
|
||
<PrivateAssets>all</PrivateAssets>
|
||
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
||
</PackageReference>
|
||
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies.net35" Version="1.0.3" Condition="'$(TargetFramework)' == 'net35' ">
|
||
<PrivateAssets>all</PrivateAssets>
|
||
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
||
</PackageReference>
|
||
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies.net40" Version="1.0.3" Condition="'$(TargetFramework)' == 'net40' ">
|
||
<PrivateAssets>all</PrivateAssets>
|
||
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
||
</PackageReference>
|
||
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies.net45" Version="1.0.3" Condition="'$(TargetFramework)' == 'net45' ">
|
||
<PrivateAssets>all</PrivateAssets>
|
||
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
||
</PackageReference>
|
||
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies.net48" Version="1.0.3" Condition="'$(TargetFramework)' == 'net48' ">
|
||
<PrivateAssets>all</PrivateAssets>
|
||
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
||
</PackageReference>
|
||
</ItemGroup>
|
||
|
||
<ItemGroup>
|
||
<None Include="../../README.md" Pack="true" PackagePath="\" />
|
||
</ItemGroup>
|
||
|
||
</Project>
|