chore(props): 更新版本和移除复制目标

在 TouchSocketVersion.props 中更新 BaseVersion 为 3.1.9
移除 Directory.Build.props 中的 CopyNuGetPackage 目标
添加条件 PropertyGroup 和 ItemGroup 以包含 Readme.md
This commit is contained in:
若汝棋茗
2025-06-22 22:21:00 +08:00
parent 34c3c346ce
commit 27f3061560
2 changed files with 2 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<BaseVersion>3.1.8</BaseVersion>
<BaseVersion>3.1.9</BaseVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<TouchSocketVersion>$(BaseVersion)</TouchSocketVersion>

View File

@@ -84,16 +84,7 @@
<PropertyGroup Condition="'$(TargetFramework)'=='net8.0'">
<DefineConstants>ValueTask;Unsafe;SystemNetHttp;SystemMemory;SystemTextJson;AsyncEnumerable;DisposeAsync;DefaultInterfaceMethods;AsyncLocal</DefineConstants>
</PropertyGroup>
<!--<Target Name="CopyNuGetPackage" AfterTargets="Pack" Condition="'$(Configuration)' == 'Release'">
<Copy SourceFiles="$(PackageOutputPath)\$(PackageId).$(PackageVersion).nupkg" DestinationFolder="D:\Nuget\local" />
</Target>-->
<Target Name="CopyNuGetPackage" AfterTargets="Pack">
<Copy SourceFiles="$(PackageOutputPath)\$(PackageId).$(PackageVersion).nupkg" DestinationFolder="D:\Nuget\local" />
</Target>
<PropertyGroup Condition="'$(IsSourceGenerator)'!='True'">
<PackageReadmeFile>Readme.md</PackageReadmeFile>
</PropertyGroup>