Skip to content

Commit bed7ae3

Browse files
committed
Core 3.1 configured
1 parent f5f8cf0 commit bed7ae3

File tree

2 files changed

+47
-4
lines changed

2 files changed

+47
-4
lines changed

src/ITfoxtec.Identity.Saml2.MvcCore/ITfoxtec.Identity.Saml2.MvcCore.csproj

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>netcoreapp2.1;netcoreapp2.2;netcoreapp3.0;net472;net462</TargetFrameworks>
3+
<TargetFrameworks>netcoreapp2.1;netcoreapp2.2;netcoreapp3.0;netcoreapp3.1;net472;net462</TargetFrameworks>
44
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
55
<Authors>Anders Revsgaard</Authors>
66
<Company>ITfoxtec</Company>
@@ -10,7 +10,7 @@
1010
<Title>ITfoxtec Identity SAML 2.0 MVC Core</Title>
1111
<Description>ASP.NET MVC Core is supportet by the ITfoxtec Identity SAML2 MVC Core package which helps to integrate the ITfoxtec SAML 2.0 package and add support for SAML-P and SAML 2.0 tokens.
1212

13-
Support .NET Core 2.1, 2.2 and 3.0
13+
Support .NET Core 2.1, 2.2, 3.0 and 3.1
1414
Support .NET Framework 4.6.2 and 4.7.2
1515
</Description>
1616
<PackageTags>SAML SAML 2.0 SAML2.0 SAML2 SAML 2 SAML-P SAMLP SSO Identity Provider (IdP) Relying Party (RP) Authentication Metadata OIOSAML NemLog-in ASP.NET MVC Core</PackageTags>
@@ -105,6 +105,28 @@
105105
<NoWarn>$(NoWarn);1591;1573</NoWarn>
106106
</PropertyGroup>
107107

108+
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1'">
109+
<FrameworkReference Include="Microsoft.AspNetCore.App" />
110+
<PackageReference Include="Microsoft.IdentityModel.Tokens.Saml" Version="5.4.0" />
111+
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="5.4.0" />
112+
<PackageReference Include="System.Runtime.InteropServices" Version="4.3.0" />
113+
<PackageReference Include="System.Security.Cryptography.Xml" Version="4.5.0" />
114+
<PackageReference Include="System.ServiceModel.Security" Version="4.5.3" />
115+
</ItemGroup>
116+
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1'">
117+
<DefineConstants>NETCORE31;NETCORE;</DefineConstants>
118+
</PropertyGroup>
119+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netcoreapp3.1|AnyCPU'">
120+
<DebugType>pdbonly</DebugType>
121+
<DebugSymbols>true</DebugSymbols>
122+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
123+
<NoWarn>$(NoWarn);1591;1573</NoWarn>
124+
</PropertyGroup>
125+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netcoreapp3.1|AnyCPU'">
126+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
127+
<NoWarn>$(NoWarn);1591;1573</NoWarn>
128+
</PropertyGroup>
129+
108130
<ItemGroup Condition=" '$(TargetFramework)' == 'net472' ">
109131
<PackageReference Include="Microsoft.AspNetCore.Authentication.Cookies" Version="2.2.0" />
110132
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="2.2.0" />

src/ITfoxtec.Identity.Saml2/ITfoxtec.Identity.Saml2.csproj

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>netcoreapp2.1;netcoreapp2.2;netcoreapp3.0;net472;net462</TargetFrameworks>
3+
<TargetFrameworks>netcoreapp2.1;netcoreapp2.2;netcoreapp3.0;netcoreapp3.1;net472;net462</TargetFrameworks>
44
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
55
<Authors>Anders Revsgaard</Authors>
66
<Company>ITfoxtec</Company>
@@ -10,7 +10,7 @@
1010
<Title>ITfoxtec Identity SAML 2.0</Title>
1111
<Description>The ITfoxtec.Identity.Saml2 package adds SAML-P support for both Identity Provider (IdP) and Relying Party (RP) on top of the SAML 2.0 functionality implemented in .NET.
1212

13-
Support .NET Core 2.1, 2.2 and 3.0
13+
Support .NET Core 2.1, 2.2, 3.0 and 3.1
1414
Support .NET Framework 4.6.2 and 4.7.2
1515

1616
Support message signing and validation (SHA1/SHA256/SHA384/SHA512) as well as encryption and decryption. Login, logout, single logout and metadata. Both SP Initiated and IdP Initiated sign on.
@@ -95,6 +95,27 @@ Tested for compliance with AD FS, Azure AD and Azure AD B2C. Furthermore, the Da
9595
<NoWarn>$(NoWarn);1591;1573</NoWarn>
9696
</PropertyGroup>
9797

98+
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1'">
99+
<PackageReference Include="Microsoft.IdentityModel.Tokens.Saml" Version="5.4.0" />
100+
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="5.4.0" />
101+
<PackageReference Include="System.Runtime.InteropServices" Version="4.3.0" />
102+
<PackageReference Include="System.Security.Cryptography.Xml" Version="4.5.0" />
103+
<PackageReference Include="System.ServiceModel.Security" Version="4.5.3" />
104+
</ItemGroup>
105+
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1'">
106+
<DefineConstants>NETCORE31;NETCORE;</DefineConstants>
107+
</PropertyGroup>
108+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netcoreapp3.1|AnyCPU'">
109+
<DebugType>pdbonly</DebugType>
110+
<DebugSymbols>true</DebugSymbols>
111+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
112+
<NoWarn>$(NoWarn);1591;1573</NoWarn>
113+
</PropertyGroup>
114+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netcoreapp3.1|AnyCPU'">
115+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
116+
<NoWarn>$(NoWarn);1591;1573</NoWarn>
117+
</PropertyGroup>
118+
98119
<ItemGroup Condition=" '$(TargetFramework)' == 'net472' ">
99120
<Reference Include="mscorlib" />
100121
<Reference Include="Microsoft.CSharp" />

0 commit comments

Comments
 (0)