51 lines
3.1 KiB
XML
51 lines
3.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||
|
||
<PropertyGroup>
|
||
<TargetFramework>net10.0</TargetFramework>
|
||
<Nullable>enable</Nullable>
|
||
<ImplicitUsings>enable</ImplicitUsings>
|
||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||
<AssemblyName>BuildFlow.Host</AssemblyName>
|
||
<RootNamespace>BuildFlow.Host</RootNamespace>
|
||
<!-- 与 BuildFlow.Api.csproj 一致:OpenTelemetry 1.11.x 有已知漏洞告警,与各服务同步抑制 -->
|
||
<NoWarn>$(NoWarn);NU1902</NoWarn>
|
||
</PropertyGroup>
|
||
|
||
<!-- BuildFlow Host 直接引用各模块的 Application + Infrastructure(含传递的 Domain)。
|
||
HTTP 层(Endpoints/Hubs)已全部并入本 Host 项目,不再有独立 Api 类库。
|
||
setup 全部在 BuildFlowHostModule 统一注册一次。SSO 是独立身份提供方,不并入。 -->
|
||
<ItemGroup>
|
||
<ProjectReference Include="..\modules\rag\Application\BuildFlow.Application.csproj" />
|
||
<ProjectReference Include="..\modules\rag\Infrastructure\BuildFlow.Infrastructure.csproj" />
|
||
<ProjectReference Include="..\modules\file\Application\File.Application.csproj" />
|
||
<ProjectReference Include="..\modules\file\Infrastructure\File.Infrastructure.csproj" />
|
||
<ProjectReference Include="..\modules\im\Application\IM.Application.csproj" />
|
||
<ProjectReference Include="..\modules\im\Infrastructure\IM.Infrastructure.csproj" />
|
||
<ProjectReference Include="..\modules\workflow\Application\Workflow.Application.csproj" />
|
||
<ProjectReference Include="..\modules\workflow\Infrastructure\Workflow.Infrastructure.csproj" />
|
||
</ItemGroup>
|
||
|
||
<!-- FastEndpoints / Swagger / ABP / OTel:合并 Api 层后显式声明(不再由 Api 项目传递) -->
|
||
<ItemGroup>
|
||
<PackageReference Include="FastEndpoints" Version="8.1.0" />
|
||
<PackageReference Include="FastEndpoints.Security" Version="8.1.0" />
|
||
<PackageReference Include="FastEndpoints.Swagger" Version="8.1.0" />
|
||
<PackageReference Include="Volo.Abp.AspNetCore" Version="10.3.0" />
|
||
<PackageReference Include="Volo.Abp.Core" Version="10.3.0" />
|
||
<!-- 显式声明 Relational 10.0.7:避免传递依赖(Npgsql 10.0.1)把它拉成 10.0.4,
|
||
导致运行时加载 Version=10.0.7.0 失败(FileNotFoundException)。 -->
|
||
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="10.0.7" />
|
||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.7">
|
||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||
<PrivateAssets>all</PrivateAssets>
|
||
</PackageReference>
|
||
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.11.2" />
|
||
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.11.2" />
|
||
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.11.1" />
|
||
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.11.1" />
|
||
<PackageReference Include="OpenTelemetry.Instrumentation.EntityFrameworkCore" Version="1.11.0-beta.2" />
|
||
<PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.11.1" />
|
||
</ItemGroup>
|
||
|
||
</Project>
|