File tree Expand file tree Collapse file tree
D2L.Security.OAuth2.TestFramework
D2L.Security.OAuth2.IntegrationTests
D2L.Security.OAuth2.UnitTests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,14 +20,12 @@ jobs:
2020 - uses : Brightspace/third-party-actions@actions/checkout
2121 - uses : Brightspace/third-party-actions@actions/setup-dotnet
2222 with :
23- dotnet-version : |
24- 6.0.x
25- 7.0.x
23+ dotnet-version : 10.0.x
2624
2725 - name : Unit tests
28- run : dotnet test -c Release --framework net60 test/D2L.Security.OAuth2.UnitTests/D2L.Security.OAuth2.UnitTests.csproj
26+ run : dotnet test -c Release --framework net10.0 test/D2L.Security.OAuth2.UnitTests/D2L.Security.OAuth2.UnitTests.csproj
2927 - name : Integration tests
30- run : dotnet test -c Release --framework net60 test/D2L.Security.OAuth2.IntegrationTests/D2L.Security.OAuth2.IntegrationTests.csproj
28+ run : dotnet test -c Release --framework net10.0 test/D2L.Security.OAuth2.IntegrationTests/D2L.Security.OAuth2.IntegrationTests.csproj
3129
3230 windows :
3331 name : Build and test (Windows)
Original file line number Diff line number Diff line change 1212 </PropertyGroup >
1313
1414 <PropertyGroup >
15- <LangVersion >11 .0</LangVersion >
15+ <LangVersion >14 .0</LangVersion >
1616 <ManagePackageVersionsCentrally >true</ManagePackageVersionsCentrally >
1717 <WarningsAsErrors >CS8785</WarningsAsErrors >
1818 </PropertyGroup >
Original file line number Diff line number Diff line change 11<Project >
2- <ItemGroup Condition =" '$(TargetFramework)' == 'net60 '" >
2+ <ItemGroup Condition =" '$(TargetFramework)' != 'net472 '" >
33 <Compile Remove =" $(MSBuildProjectDirectory)/**/*.net4x.cs" />
44 <None Include =" $(MSBuildProjectDirectory)/**/*.net4x.cs" />
55 </ItemGroup >
66
7- <ItemGroup Condition =" '$(TargetFramework)' != 'net60 '" >
8- <Compile Remove =" $(MSBuildProjectDirectory)/**/*.net60 .cs" />
9- <None Include =" $(MSBuildProjectDirectory)/**/*.net60 .cs" />
7+ <ItemGroup Condition =" '$(TargetFramework)' == 'net472 '" >
8+ <Compile Remove =" $(MSBuildProjectDirectory)/**/*.net5plus .cs" />
9+ <None Include =" $(MSBuildProjectDirectory)/**/*.net5plus .cs" />
1010 </ItemGroup >
1111</Project >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFrameworks >net472;net60 </TargetFrameworks >
3+ <TargetFrameworks >net472;net10.0 </TargetFrameworks >
44 <OutputType >Library</OutputType >
55
66 <Title >D2L.Security.OAuth2.TestFramework</Title >
1414 <PackageReference Include =" RichardSzalay.MockHttp" />
1515 </ItemGroup >
1616
17- <ItemGroup Condition =" '$(TargetFramework)' != 'net60 '" >
17+ <ItemGroup Condition =" '$(TargetFramework)' == 'net472 '" >
1818 <Reference Include =" System.Net.Http" />
1919 </ItemGroup >
2020
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFrameworks >net472;net60 </TargetFrameworks >
3+ <TargetFrameworks >net472;net10.0 </TargetFrameworks >
44 <OutputType >Library</OutputType >
55
66 <Title >D2L.Security.OAuth2</Title >
2525 <PackageReference Include =" System.IdentityModel.Tokens.Jwt" />
2626 </ItemGroup >
2727
28- <ItemGroup Condition =" '$(TargetFramework)' == 'net60 '" >
28+ <ItemGroup Condition =" '$(TargetFramework)' != 'net472 '" >
2929 <PackageReference Include =" Microsoft.Extensions.Caching.Memory" />
3030 </ItemGroup >
3131
32- <PropertyGroup Condition =" '$(TargetFramework)' == 'net60 '" >
32+ <PropertyGroup Condition =" '$(TargetFramework)' != 'net472 '" >
3333 <SuppressSyncGenerator >true</SuppressSyncGenerator >
3434 </PropertyGroup >
3535
36- <ItemGroup Condition =" '$(TargetFramework)' != 'net60 '" >
36+ <ItemGroup Condition =" '$(TargetFramework)' == 'net472 '" >
3737 <!-- We use Microsoft.Extensions.Caching.Memory in .NET 5+ -->
3838 <Reference Include =" System.Runtime.Caching" />
3939
File renamed without changes.
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFrameworks >net472;net60 </TargetFrameworks >
3+ <TargetFrameworks >net472;net10.0 </TargetFrameworks >
44 <OutputType >Library</OutputType >
55
66 <Title >D2L.Security.OAuth2.IntegrationTests</Title >
1414 <PackageReference Include =" System.IdentityModel.Tokens.Jwt" />
1515 </ItemGroup >
1616
17- <ItemGroup Condition =" '$(TargetFramework)' != 'net60 '" >
17+ <ItemGroup Condition =" '$(TargetFramework)' == 'net472 '" >
1818 <Reference Include =" System.Net.Http" />
1919 </ItemGroup >
2020
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFrameworks >net472;net60 </TargetFrameworks >
3+ <TargetFrameworks >net472;net10.0 </TargetFrameworks >
44 <OutputType >Library</OutputType >
55
66 <Title >D2L.Security.OAuth2.UnitTests</Title >
2222 <ProjectReference Include =" ..\..\src\D2L.Security.OAuth2\D2L.Security.OAuth2.csproj" />
2323 </ItemGroup >
2424
25- <ItemGroup Condition =" '$(TargetFramework)' != 'net60 '" >
25+ <ItemGroup Condition =" '$(TargetFramework)' == 'net472 '" >
2626 <Reference Include =" System.Net.Http" />
2727 <Reference Include =" System.Web" />
2828 <Reference Include =" System.Web.Extensions" />
You can’t perform that action at this time.
0 commit comments