Skip to content

Commit 0fbb4d2

Browse files
committed
chore: Rename sample project for .NET 10.0 compatibility
Updated the project name in the solution file from "Senparc.CO2NET.Sample.Consoles.Net8" to "Senparc.CO2NET.Sample.Consoles.Net10" to reflect the transition to .NET 10.0. This change aligns with the recent updates for .NET 10.0 support.
1 parent 23c3666 commit 0fbb4d2

File tree

2 files changed

+46
-1
lines changed

2 files changed

+46
-1
lines changed

Sample/Senparc.CO2NET.Sample-with-net10.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Senparc.CO2NET.APM", "..\sr
3232
EndProject
3333
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Senparc.CO2NET.APM.Tests.net8", "..\src\Senparc.CO2NET.APM.Tests\Senparc.CO2NET.APM.Tests.net8.csproj", "{4FA6F2C4-54B5-469D-8ECF-0040120D3344}"
3434
EndProject
35-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Senparc.CO2NET.Sample.Consoles.Net8", "Senparc.CO2NET.Sample.Consoles\Senparc.CO2NET.Sample.Consoles.Net8.csproj", "{EF7278DE-7E6E-4F4F-AF19-BF7C6BA58F87}"
35+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Senparc.CO2NET.Sample.Consoles.Net10", "Senparc.CO2NET.Sample.Consoles\Senparc.CO2NET.Sample.Consoles.Net10.csproj", "{EF7278DE-7E6E-4F4F-AF19-BF7C6BA58F87}"
3636
EndProject
3737
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Senparc.CO2NET.Sample.net10", "Senparc.CO2NET.Sample.net10\Senparc.CO2NET.Sample.net10.csproj", "{3CEE7584-D273-4DF7-AD5A-E5385F34DDE2}"
3838
EndProject
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net10.0</TargetFramework>
6+
<Configurations>Debug;Release;Test</Configurations>
7+
</PropertyGroup>
8+
9+
<ItemGroup>
10+
<None Remove="appsettings.Development.json" />
11+
<None Remove="appsettings.json" />
12+
</ItemGroup>
13+
14+
<ItemGroup>
15+
<Content Include="appsettings.Development.json">
16+
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
17+
</Content>
18+
<Content Include="appsettings.json">
19+
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
20+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
21+
</Content>
22+
</ItemGroup>
23+
24+
<ItemGroup>
25+
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="10.0.0" />
26+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="10.0.0" />
27+
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="10.0.0" />
28+
<PackageReference Include="Microsoft.Net.Http.Headers" Version="10.0.0" />
29+
30+
<!--<FrameworkReference Include="Microsoft.AspNetCore.App" />-->
31+
32+
</ItemGroup>
33+
34+
<ItemGroup>
35+
<ProjectReference Include="..\..\src\Senparc.CO2NET.APM\Senparc.CO2NET.APM.csproj" />
36+
<ProjectReference Include="..\..\src\Senparc.CO2NET.Cache.CsRedis\Senparc.CO2NET.Cache.CsRedis.csproj" />
37+
<ProjectReference Include="..\..\src\Senparc.CO2NET.Cache.Memcached\Senparc.CO2NET.Cache.Memcached.csproj" />
38+
<ProjectReference Include="..\..\src\Senparc.CO2NET.Cache.Redis.RedLock\redlock-cs\src\Senparc.CO2NET.Cache.Redis.RedLock.csproj" />
39+
<ProjectReference Include="..\..\src\Senparc.CO2NET.Cache.Redis\Senparc.CO2NET.Cache.Redis.csproj" />
40+
<ProjectReference Include="..\..\src\Senparc.CO2NET.WebApi\Senparc.CO2NET.WebApi.csproj" />
41+
<ProjectReference Include="..\..\src\Senparc.CO2NET\Senparc.CO2NET.csproj" />
42+
</ItemGroup>
43+
44+
</Project>
45+

0 commit comments

Comments
 (0)