Skip to content

Commit 9e0d2b1

Browse files
committed
更新编译脚本
1 parent 0a04c76 commit 9e0d2b1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

QpTestClient/QpTestClient.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
<PropertyGroup>
44
<OutputType>WinExe</OutputType>
5-
<RollForward>Major</RollForward>
65
<TargetFramework>net9.0-windows</TargetFramework>
6+
<RollForward>Major</RollForward>
77
<UseWindowsForms>true</UseWindowsForms>
88
<Product>[QuickProtocol]测试客户端</Product>
99
<AssemblyTitle>[QuickProtocol]测试客户端</AssemblyTitle>
@@ -15,6 +15,8 @@
1515
<Copyright>Apache License</Copyright>
1616
<PackageProjectUrl>https://github.com/QuickProtocol</PackageProjectUrl>
1717
<RepositoryUrl>https://github.com/QuickProtocol/QuickProtocol_CSharp</RepositoryUrl>
18+
<PublishAot>true</PublishAot>
19+
<_SuppressWinFormsTrimError>true</_SuppressWinFormsTrimError>
1820
<CustomResourceTypesSupport>true</CustomResourceTypesSupport>
1921
</PropertyGroup>
2022

QpTestClient/publish.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
dotnet publish -r win-x64 -c Release -p:PublishAot=true -p:_SuppressWinFormsTrimError=true
1+
dotnet publish -r win-x86

0 commit comments

Comments
 (0)