Skip to content

Commit

Permalink
Add support for net6.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
marabooy committed Mar 15, 2022
1 parent f08915b commit b27a64f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion src/Microsoft.AspNetCore.OData.NewtonsoftJson.Nightly.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,18 @@
<icon>images\odata.png</icon>
<repository type="git" url="https://github.com/OData/AspNetCoreOData.git" branch="master" />
<dependencies>
<group targetFramework=".net5.0">
<group targetFramework=".net6.0">
<dependency id="Microsoft.AspNetCore.OData" version="$VersionFullSemantic$-Nightly$NightlyBuildVersion$" />
</group>
<group targetFramework=".net5.0">
<dependency id="Microsoft.AspNetCore.OData" version="$VersionFullSemantic$-Nightly$NightlyBuildVersion$" />
</group>
</dependencies>
</metadata>
<files>
<file src="$ProductRoot$\net6.0\Microsoft.AspNetCore.OData.NewtonsoftJson.dll" target="lib\net6.0" />
<file src="$ProductRoot$\net6.0\Microsoft.AspNetCore.OData.NewtonsoftJson.xml" target="lib\net6.0" />
<file src="$ProductRoot$\net6.0\Microsoft.AspNetCore.OData.NewtonsoftJson.pdb" target="lib\net6.0" />
<file src="$ProductRoot$\net5.0\Microsoft.AspNetCore.OData.NewtonsoftJson.dll" target="lib\net5.0" />
<file src="$ProductRoot$\net5.0\Microsoft.AspNetCore.OData.NewtonsoftJson.xml" target="lib\net5.0" />
<file src="$ProductRoot$\net5.0\Microsoft.AspNetCore.OData.NewtonsoftJson.pdb" target="lib\net5.0" />
Expand Down
6 changes: 6 additions & 0 deletions src/Microsoft.AspNetCore.OData.NewtonsoftJson.Release.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,15 @@
<group targetFramework=".net5.0">
<dependency id="Microsoft.AspNetCore.OData" version="$VersionNuGetSemantic$" />
</group>
<group targetFramework=".net6.0">
<dependency id="Microsoft.AspNetCore.OData" version="$VersionNuGetSemantic$" />
</group>
</dependencies>
</metadata>
<files>
<file src="$ProductRoot$\net6.0\Microsoft.AspNetCore.OData.NewtonsoftJson.dll" target="lib\net6.0" />
<file src="$ProductRoot$\net6.0\Microsoft.AspNetCore.OData.NewtonsoftJson.xml" target="lib\net6.0" />
<file src="$ProductRoot$\net6.0\Microsoft.AspNetCore.OData.NewtonsoftJson.pdb" target="lib\net6.0" />
<file src="$ProductRoot$\net5.0\Microsoft.AspNetCore.OData.NewtonsoftJson.dll" target="lib\net5.0" />
<file src="$ProductRoot$\net5.0\Microsoft.AspNetCore.OData.NewtonsoftJson.xml" target="lib\net5.0" />
<file src="$ProductRoot$\net5.0\Microsoft.AspNetCore.OData.NewtonsoftJson.pdb" target="lib\net5.0" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net5.0;net6.0</TargetFramework>
<RootNamespace>Microsoft.AspNetCore.OData.NewtonsoftJson</RootNamespace>
<DocumentationFile>$(OutputPath)$(AssemblyName).xml</DocumentationFile>

Expand Down

0 comments on commit b27a64f

Please sign in to comment.