Skip to content

Commit b0d25d1

Browse files
committed
refactor(Hub): switch to NuGet packages v10.5.0-beta.2, remove local DLLs
- Replace local DLL references with NuGet PackageReference - Update all GeneralUpdate packages to 10.5.0-beta.2 - Remove UseNuGet conditional (always use NuGet now) - Delete local DLL files from src/Hub/libs/ (5 files) - Keep Applications/ directory for Bowl procdump tools
1 parent 5a5f407 commit b0d25d1

6 files changed

Lines changed: 7 additions & 33 deletions

src/Hub/Hub.csproj

Lines changed: 7 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -4,40 +4,14 @@
44
<TargetFramework>net10.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
7-
<!-- NuGet / 本地dll 切换: true=NuGet, false=本地dll -->
8-
<UseNuGet>false</UseNuGet>
97
</PropertyGroup>
108

11-
<!-- ========== NuGet 模式(正式发布用) ========== -->
12-
<ItemGroup Condition="'$(UseNuGet)' == 'true'">
13-
<PackageReference Include="GeneralUpdate.Core" Version="10.*" />
14-
<PackageReference Include="GeneralUpdate.Differential" Version="10.*" />
15-
<PackageReference Include="GeneralUpdate.Drivelution" Version="10.*" />
16-
<PackageReference Include="GeneralUpdate.Extension" Version="10.*" />
17-
<PackageReference Include="GeneralUpdate.Bowl" Version="10.*" />
18-
</ItemGroup>
19-
20-
<!-- ========== 本地 dll 模式(开发联调用) ========== -->
21-
<ItemGroup Condition="'$(UseNuGet)' != 'true'">
22-
<Reference Include="GeneralUpdate.Core">
23-
<HintPath>libs\GeneralUpdate.Core.dll</HintPath>
24-
</Reference>
25-
<Reference Include="GeneralUpdate.Differential">
26-
<HintPath>libs\GeneralUpdate.Differential.dll</HintPath>
27-
</Reference>
28-
<Reference Include="GeneralUpdate.Drivelution">
29-
<HintPath>libs\GeneralUpdate.Drivelution.dll</HintPath>
30-
</Reference>
31-
<Reference Include="GeneralUpdate.Extension">
32-
<HintPath>libs\GeneralUpdate.Extension.dll</HintPath>
33-
</Reference>
34-
<Reference Include="GeneralUpdate.Bowl">
35-
<HintPath>libs\GeneralUpdate.Bowl.dll</HintPath>
36-
</Reference>
37-
38-
<!-- 本地 DLL 的传递依赖 -->
39-
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="10.0.1" />
40-
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
9+
<ItemGroup>
10+
<PackageReference Include="GeneralUpdate.Core" Version="10.5.0-beta.2" />
11+
<PackageReference Include="GeneralUpdate.Differential" Version="10.5.0-beta.2" />
12+
<PackageReference Include="GeneralUpdate.Drivelution" Version="10.5.0-beta.2" />
13+
<PackageReference Include="GeneralUpdate.Extension" Version="10.5.0-beta.2" />
14+
<PackageReference Include="GeneralUpdate.Bowl" Version="10.5.0-beta.2" />
4115
</ItemGroup>
4216

4317
<!-- Push 示例需要自托管 SignalR Hub -->
@@ -53,7 +27,7 @@
5327
</ItemGroup>
5428

5529
<!-- Bowl 进程守护需要 procdump 工具 -->
56-
<ItemGroup Condition="'$(UseNuGet)' != 'true'">
30+
<ItemGroup>
5731
<Content Include="libs\Applications\**\*">
5832
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
5933
<Link>Applications\%(RecursiveDir)%(Filename)%(Extension)</Link>
-52.5 KB
Binary file not shown.
-397 KB
Binary file not shown.
-61 KB
Binary file not shown.
-170 KB
Binary file not shown.
-152 KB
Binary file not shown.

0 commit comments

Comments
 (0)