Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
devlead committed Nov 19, 2023
1 parent 833b21d commit 9c651e5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,19 @@ framework.
#### Package manager

```PowerShell
Install-Package LitJson -Version 0.10.0
Install-Package LitJson -Version 0.19.0
```

#### .NET CLI

```PowerShell
dotnet add package LitJson --version 0.10.0
dotnet add package LitJson --version 0.19.0
```

#### Paket CLI

```PowerShell
paket add LitJson --version 0.10.0
paket add LitJson --version 0.19.0
```

Alternatively, just copy the whole tree of files under `src/LitJSON` to your
Expand All @@ -81,11 +81,14 @@ own project's source tree and integrate it with your development environment.
#### Requirements

LitJSON currently targets and supports

* .NET 8
* .NET 6
* .NET Standard 2.1
* .NET Standard 2.0
* .NET Standard 1.5
* .NET Framework 4.5 and above
* .NET Framework 4.8
* .NET Framework 4.5
* .NET Framework 4.0
* .NET Framework 3.5 (including SQLCLR, for which [WCOMAB/SqlServerSlackAPI](https://github.com/WCOMAB/SqlServerSlackAPI) is an example of)
* .NET Framework 2.0
Expand Down
2 changes: 2 additions & 0 deletions src/LitJson.Source/LitJSON.Source.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@
<RepositoryUrl>https://github.com/LitJSON/litjson</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>JSON;Serializer</PackageTags>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<PackageFile Include="../LitJson/**/*.cs" Exclude="../LitJson/obj/**;../LitJson/bin/**;../LitJson/AssemblyInfo.cs" PackagePath="$(ContentTargetFolders)\cs\any\LitJson\%(RelativeDir)%(Filename).g%(Extension)" />
<None Include="../LitJson/litjson.png" Pack="true" PackagePath="" />
<None Include="../../README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup>
Expand Down
5 changes: 5 additions & 0 deletions src/LitJson/LitJSON.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<SourceLinkCreate Condition="'$(OS)' == 'Windows_NT'">true</SourceLinkCreate>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
Expand Down Expand Up @@ -79,4 +80,8 @@ It's quick and lean, without external dependencies.</Description>
</PackageReference>
</ItemGroup>

<ItemGroup>
<None Include="../../README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

</Project>

0 comments on commit 9c651e5

Please sign in to comment.