From cc39fd577d402baf6397ce740914cb018d92280f Mon Sep 17 00:00:00 2001 From: zqm Date: Thu, 5 Feb 2026 10:28:17 +0800 Subject: [PATCH] =?UTF-8?q?WebSocket=E7=BB=84=E4=BB=B6=E9=99=8D=E4=BD=8ENe?= =?UTF-8?q?wtonsoft.Json=E5=AF=B9Net=E7=89=88=E6=9C=AC=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + Windows/CS/Framework4.0/CubeLib/CubeLib/CubeLib.csproj | 6 +++--- .../Framework4.0/CubeLib/CubeLib/Properties/AssemblyInfo.cs | 4 ++-- Windows/CS/Framework4.0/CubeLib/CubeLib/packages.config | 2 +- Windows/CS/Framework4.0/CubeLib/publish-nuget.ps1 | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 33d364e..3d7947a 100644 --- a/.gitignore +++ b/.gitignore @@ -263,3 +263,4 @@ __pycache__/ /Windows/CS/Framework4.0/Toprie/Output /Windows/CS/Framework4.0/Utils/Output /Windows/CS/Framework4.0/Toprie/testDevice +/Windows/CS/Framework4.0/CubeLib/Output diff --git a/Windows/CS/Framework4.0/CubeLib/CubeLib/CubeLib.csproj b/Windows/CS/Framework4.0/CubeLib/CubeLib/CubeLib.csproj index bb6fabc..5376b75 100644 --- a/Windows/CS/Framework4.0/CubeLib/CubeLib/CubeLib.csproj +++ b/Windows/CS/Framework4.0/CubeLib/CubeLib/CubeLib.csproj @@ -1,4 +1,4 @@ - + @@ -38,8 +38,8 @@ - - ..\packages\Newtonsoft.Json.13.0.4\lib\net40\Newtonsoft.Json.dll + + ..\packages\Newtonsoft.Json.8.0.3\lib\net40\Newtonsoft.Json.dll diff --git a/Windows/CS/Framework4.0/CubeLib/CubeLib/Properties/AssemblyInfo.cs b/Windows/CS/Framework4.0/CubeLib/CubeLib/Properties/AssemblyInfo.cs index f419692..03c0243 100644 --- a/Windows/CS/Framework4.0/CubeLib/CubeLib/Properties/AssemblyInfo.cs +++ b/Windows/CS/Framework4.0/CubeLib/CubeLib/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号 //通过使用 "*",如下所示: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.1.0")] -[assembly: AssemblyFileVersion("1.0.1.0")] +[assembly: AssemblyVersion("1.0.1.1")] +[assembly: AssemblyFileVersion("1.0.1.1")] diff --git a/Windows/CS/Framework4.0/CubeLib/CubeLib/packages.config b/Windows/CS/Framework4.0/CubeLib/CubeLib/packages.config index 649c3f8..2c6c3f1 100644 --- a/Windows/CS/Framework4.0/CubeLib/CubeLib/packages.config +++ b/Windows/CS/Framework4.0/CubeLib/CubeLib/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file diff --git a/Windows/CS/Framework4.0/CubeLib/publish-nuget.ps1 b/Windows/CS/Framework4.0/CubeLib/publish-nuget.ps1 index d7a5bd5..ceb341b 100644 --- a/Windows/CS/Framework4.0/CubeLib/publish-nuget.ps1 +++ b/Windows/CS/Framework4.0/CubeLib/publish-nuget.ps1 @@ -40,7 +40,7 @@ $licenseUrl = "https://opensource.org/licenses/MIT" $iconFileName = "CubeLib.ico" $iconSourcePath = Join-Path $scriptDir $iconFileName $iconUrl = "http://47.111.181.23:8081/repository/gradle/main/CubeLib.ico" -$releaseNotes = "WebSocket组件初始版本,支持客户端和服务器功能" +$releaseNotes = "WebSocket组件降低Newtonsoft.Json对Net版本依赖" # 其他设置 $nupkgFileName = "$packageId.$version.nupkg"