|
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + <PropertyGroup> |
| 3 | + <TargetFrameworks>netstandard2.1;net6.0;net7.0;net8.0;net9.0;net10.0</TargetFrameworks> |
| 4 | + <GeneratePackageOnBuild>true</GeneratePackageOnBuild> |
| 5 | + <PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> |
| 6 | + <Authors>Psyche</Authors> |
| 7 | + <Company>Cyaim Studio</Company> |
| 8 | + <PackageProjectUrl>https://github.com/Cyaim/WebSocketServer</PackageProjectUrl> |
| 9 | + <PackageLicenseFile>LICENSE</PackageLicenseFile> |
| 10 | + <RepositoryUrl>https://github.com/Cyaim/WebSocketServer</RepositoryUrl> |
| 11 | + <Copyright>Copyright © Cyaim Studio</Copyright> |
| 12 | + <Version>2.0.0</Version> |
| 13 | + <PackageIcon>WebSocketRepository_Logo.png</PackageIcon> |
| 14 | + <PackageReleaseNotes> |
| 15 | + Version 2.0.0 - Initial Release |
| 16 | + |
| 17 | + - MessagePack binary protocol support for WebSocketServer |
| 18 | + - High-performance binary serialization |
| 19 | + - Reduced message size compared to JSON |
| 20 | + - Full compatibility with MvcChannelHandler features |
| 21 | + - Support for .NET Standard 2.1, .NET 6.0, .NET 7.0, .NET 8.0, .NET 9.0, and .NET 10.0 |
| 22 | + </PackageReleaseNotes> |
| 23 | + <Description> |
| 24 | + WebSocketServer MessagePack binary protocol extension |
| 25 | + WebSocketServer MessagePack 二进制协议扩展 |
| 26 | + </Description> |
| 27 | + </PropertyGroup> |
| 28 | + |
| 29 | + <ItemGroup Condition="'$(TargetFramework)' == 'net6.0' Or '$(TargetFramework)' == 'net7.0' Or '$(TargetFramework)' == 'net8.0' Or '$(TargetFramework)' == 'net9.0' Or '$(TargetFramework)' == 'net10.0'"> |
| 30 | + <FrameworkReference Include="Microsoft.AspNetCore.App" /> |
| 31 | + </ItemGroup> |
| 32 | + |
| 33 | + <!-- .NET Standard 2.1 需要显式引用,使用最新稳定版本 --> |
| 34 | + <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'"> |
| 35 | + <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.0" /> |
| 36 | + <PackageReference Include="System.Text.Json" Version="9.0.0" /> |
| 37 | + </ItemGroup> |
| 38 | + |
| 39 | + <ItemGroup> |
| 40 | + <PackageReference Include="MessagePack" Version="2.5.192" /> |
| 41 | + <PackageReference Include="MessagePack.Annotations" Version="2.5.192" /> |
| 42 | + <ProjectReference Include="..\Cyaim.WebSocketServer\Cyaim.WebSocketServer.csproj" /> |
| 43 | + </ItemGroup> |
| 44 | + |
| 45 | + <ItemGroup> |
| 46 | + <None Include="..\..\LICENSE"> |
| 47 | + <Pack>True</Pack> |
| 48 | + <PackagePath>\</PackagePath> |
| 49 | + </None> |
| 50 | + <None Include="..\Cyaim.WebSocketServer\WebSocketRepository_Logo.png"> |
| 51 | + <Pack>True</Pack> |
| 52 | + <PackagePath></PackagePath> |
| 53 | + </None> |
| 54 | + </ItemGroup> |
| 55 | + |
| 56 | +</Project> |
| 57 | + |
0 commit comments