Skip to content

Commit

Permalink
Ported IdentityServer4.sln projects from .net core 3.1 to .net6
Browse files Browse the repository at this point in the history
  • Loading branch information
halloweenlv committed Feb 28, 2023
1 parent 4dc10e6 commit 4af7fed
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 19 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# This is a forked version of archived IdentityServer4 project ported from .net core 3.1 to .net6
Link to original project:
https://github.com/IdentityServer/IdentityServer4
All the rest of the project was left as-is - only this message was added and projects underneath ./src/IdentityServer4/IdentityServer4.sln solution were adapted to be compatible with .net6

# Important update
This project is not maintained anymore. This repo will be archived when .NET Core 3.1 end of support is reached (13th Dec 2022). All new development is happening in the new [Duende Software](https://github.com/duendesoftware) organization.

Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sdk": {
"version": "3.1.402"
"version": "6.0.406"
}
}
2 changes: 1 addition & 1 deletion src/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<ItemGroup>
<!--build related-->
<PackageReference Include="MinVer" Version="2.3.0" PrivateAssets="All" />
<!-- <PackageReference Include="MinVer" Version="2.3.0" PrivateAssets="All" /> -->
<PackageReference Update="SimpleExec" Version="6.2.0" />
<PackageReference Update="Bullseye" Version="3.3.0" />
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
Expand Down
2 changes: 1 addition & 1 deletion src/IdentityServer4/host/Host.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel>
</PropertyGroup>

Expand Down
8 changes: 8 additions & 0 deletions src/IdentityServer4/nuget.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
<clear />
<add key="nuget" value="https://api.nuget.org/v3/index.json" />
</packageSources>
</configuration>
10 changes: 5 additions & 5 deletions src/IdentityServer4/src/IdentityServer4.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<PackageId>IdentityServer4</PackageId>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<Description>OpenID Connect and OAuth 2.0 Framework for ASP.NET Core</Description>
<Authors>Brock Allen;Dominick Baier</Authors>
<AssemblyName>IdentityServer4</AssemblyName>
Expand Down Expand Up @@ -41,12 +41,12 @@

<ItemGroup>
<PackageReference Include="IdentityServer4.Storage" />
<PackageReference Include="IdentityModel" />
<PackageReference Include="IdentityModel" Version="6.0.0" />

<PackageReference Include="Newtonsoft.Json" />
<PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
<PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="6.27.0" />

<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" />
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" Version="1.1.1" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>

<PropertyGroup>
Expand All @@ -15,13 +15,13 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
<PackageReference Include="Microsoft.AspNetCore.TestHost" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" />

<PackageReference Include="xunit" />
<PackageReference Include="xunit.runner.visualstudio" PrivateAssets="All" />
<PackageReference Include="FluentAssertions" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" PrivateAssets="All" Version="2.4.5" />
<PackageReference Include="FluentAssertions" Version="6.10.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>

<PropertyGroup>
Expand All @@ -15,11 +15,11 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />

<PackageReference Include="xunit" />
<PackageReference Include="xunit.runner.visualstudio" PrivateAssets="All" />
<PackageReference Include="FluentAssertions" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" PrivateAssets="All" Version="2.4.5" />
<PackageReference Include="FluentAssertions" Version="6.10.0" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 4af7fed

Please sign in to comment.