53 lines
2.2 KiB
XML
53 lines
2.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net5.0</TargetFramework>
|
|
<RootNamespace>YhCore.WebApi</RootNamespace>
|
|
<AssemblyName>YhCore.WebApi</AssemblyName>
|
|
<LangVersion>9.0</LangVersion>
|
|
<Nullable>disable</Nullable>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- 接口文档:对应 Java SpringDoc OpenAPI -->
|
|
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.6.3" />
|
|
<!-- 对象映射:对应 Java ModelMapper -->
|
|
<PackageReference Include="AutoMapper" Version="11.0.1" />
|
|
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="11.0.0" />
|
|
<!-- 参数校验:对应 Java Hibernate Validator -->
|
|
<PackageReference Include="FluentValidation.AspNetCore" Version="10.3.6" />
|
|
<!-- 日志落地:仅接口访问日志 -->
|
|
<PackageReference Include="log4net" Version="2.0.15" />
|
|
<!-- JSON 序列化:对应 Java Jackson/fastjson -->
|
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="5.0.17" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\YhCore.Common\YhCore.Common.csproj" />
|
|
<ProjectReference Include="..\YhCore.Entity\YhCore.Entity.csproj" />
|
|
<ProjectReference Include="..\YhCore.Model\YhCore.Model.csproj" />
|
|
<ProjectReference Include="..\YhCore.Repository\YhCore.Repository.csproj" />
|
|
<ProjectReference Include="..\YhCore.Service\YhCore.Service.csproj" />
|
|
<ProjectReference Include="..\YhCore.Task\YhCore.Task.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Reference Include="Yh.Platform.Abstractions">
|
|
<HintPath>..\..\..\Library\Yh.Platform.Abstractions.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Yh.Platform.AppAuth">
|
|
<HintPath>..\..\..\Library\Yh.Platform.AppAuth.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Yh.Platform.Auth">
|
|
<HintPath>..\..\..\Library\Yh.Platform.Auth.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Yh.Platform.OpenApi">
|
|
<HintPath>..\..\..\Library\Yh.Platform.OpenApi.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Yh.SchClass.OpenApi">
|
|
<HintPath>..\..\..\Library\Yh.SchClass.OpenApi.dll</HintPath>
|
|
</Reference>
|
|
</ItemGroup>
|
|
|
|
</Project>
|