Skip to content

Commit

Permalink
Replace STS net7.0 with LTS net8.0, fix #110 (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
MingweiSamuel committed Apr 4, 2024
1 parent ca8de9a commit 01adeaf
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/Camille.Core/Camille.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\common.csproj.xml" />
<PropertyGroup>
<TargetFrameworks>netstandard2.1;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netstandard2.1;net6.0;net8.0</TargetFrameworks>
<PackageId>Camille.Core</PackageId>
<RootNamespace>Camille.Core</RootNamespace>
<Description>Core utilities for Camille packages.</Description>
Expand Down
2 changes: 1 addition & 1 deletion src/Camille.Enums/Camille.Enums.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\common.csproj.xml" />
<PropertyGroup>
<TargetFrameworks>netstandard2.1;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netstandard2.1;net6.0;net8.0</TargetFrameworks>
<PackageId>Camille.Enums</PackageId>
<RootNamespace>Camille.Enums</RootNamespace>
<Description>Enums for League of Legends and other Riot Games games.</Description>
Expand Down
2 changes: 1 addition & 1 deletion src/Camille.LolGame/Camille.LolGame.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\common.csproj.xml" />
<PropertyGroup>
<TargetFrameworks>netstandard2.1;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netstandard2.1;net6.0;net8.0</TargetFrameworks>
<PackageId>Camille.LolGame</PackageId>
<RootNamespace>Camille.LolGame</RootNamespace>
<Description>League of Legends Live (In-Game) Client Data API library</Description>
Expand Down
2 changes: 1 addition & 1 deletion src/Camille.RiotGames/Camille.RiotGames.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\common.csproj.xml" />
<PropertyGroup>
<TargetFrameworks>netstandard2.1;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netstandard2.1;net6.0;net8.0</TargetFrameworks>
<PackageId>Camille.RiotGames</PackageId>
<RootNamespace>Camille.RiotGames</RootNamespace>
<Description>Riot Games API library. Fully rate limited, automatic retrying, thread-safe. Up-to-date nightlies.</Description>
Expand Down
4 changes: 2 additions & 2 deletions src/common.csproj.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
</ItemGroup>

<!-- Include RiotCertificateUtils for LolGame (In-Game) API. (Also used by LCU, but LCU support was removed. -->
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.1' Or '$(TargetFramework)' == 'net6.0' Or '$(TargetFramework)' == 'net7.0'">
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.1' Or '$(TargetFramework)' == 'net6.0' Or '$(TargetFramework)' == 'net8.0'">
<DefineConstants>$(DefineConstants);INCLUDE_RIOTCERTIFICATEUTILS</DefineConstants>
</PropertyGroup>

Expand All @@ -70,7 +70,7 @@
HttpContent.ReadAsStringAsync with CancellationToken in net 5/6/7.
https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpcontent.readasstringasync?view=net-5.0#System_Net_Http_HttpContent_ReadAsStringAsync_System_Threading_CancellationToken_
-->
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0' Or '$(TargetFramework)' == 'net7.0'">
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0' Or '$(TargetFramework)' == 'net8.0'">
<DefineConstants>$(DefineConstants);USE_HTTPREQUESTMESSAGE_OPTIONS;USE_HTTPCONTENT_READASSTRINGASYNC_CANCELLATIONTOKEN</DefineConstants>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion tests/Camille.Core.Test/Camille.Core.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net7.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<LangVersion>8.0</LangVersion>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
Expand Down
2 changes: 1 addition & 1 deletion tests/Camille.Enums.Test/Camille.Enums.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net7.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<LangVersion>8.0</LangVersion>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
Expand Down
2 changes: 1 addition & 1 deletion tests/Camille.LolGame.Test/Camille.LolGame.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net7.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion tests/Camille.RiotGames.Test/Camille.RiotGames.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net7.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down

0 comments on commit 01adeaf

Please sign in to comment.