Skip to content

Commit 2076a95

Browse files
committed
chore: Update Senparc.CO2NET.WebApi version to 2.1.6-preview.1 and adjust Swashbuckle.AspNetCore.Annotations references for .NET 8.0 and netstandard2.1
Incremented the version of Senparc.CO2NET.WebApi to 2.1.6-preview.1. Updated the Swashbuckle.AspNetCore.Annotations package reference to version 10.0.0 for .NET 8.0 and maintained version 6.5.0 for netstandard2.1 to ensure compatibility.
1 parent cf2e853 commit 2076a95

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/Senparc.CO2NET.WebApi/Senparc.CO2NET.WebApi.csproj

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>netstandard2.1;net8.0</TargetFrameworks>
4-
<Version>2.1.5</Version>
4+
<Version>2.1.6-preview.1</Version>
55
<LangVersion>latest</LangVersion>
66
<AssemblyName>Senparc.CO2NET.WebApi</AssemblyName>
77
<RootNamespace>Senparc.CO2NET.WebApi</RootNamespace>
@@ -51,7 +51,7 @@
5151
[2025-08-20] v2.1.2 feat: Add default value GET to DefaultRequestMethod proprety
5252
[2025-08-20] v2.1.2.1 Update async detection logic in DocMethodInfo and increment project version
5353
[2025-09-06] v2.1.3 base module update
54-
[2025-11-21] v2.1.5 feat: update Swashbuckle.AspNetCore to v10.0.0
54+
[2025-11-21] v2.1.5 feat: update Swashbuckle.AspNetCore.Annotations to v10.0.0 for .NET 8.0 (netstandard2.1 remains on v6.5.0 for compatibility)
5555
</PackageReleaseNotes>
5656
</PropertyGroup>
5757
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
@@ -70,10 +70,13 @@
7070
<ItemGroup>
7171
<None Include="..\Senparc.CO2NET\icon.jpg" Pack="true" Visible="false" PackagePath="" />
7272
</ItemGroup>
73-
<ItemGroup>
73+
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
7474
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="10.0.0" />
75-
<!--<PackageReference Include="System.Reflection.Emit" Version="4.7.0" />-->
7675
</ItemGroup>
76+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
77+
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="6.5.0" />
78+
</ItemGroup>
79+
<!--<PackageReference Include="System.Reflection.Emit" Version="4.7.0" />-->
7780
<ItemGroup Condition="'$(TargetFramework)' != 'netstandard2.1'">
7881
<PackageReference Include="Microsoft.AspNetCore.App" />
7982
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="8.0.0" />

0 commit comments

Comments
 (0)