- 将 Controllers, Services, Models, Properties 等目录移至 src/ 下 - 创建 Fengling.Console.slnx Rider 解决方案文件 - 更新 csproj 中的项目引用路径 - 修复 CI/CD 配置: - build.yml: 更新项目路径为 src/Fengling.Console.csproj - docker.yml: 添加 Dockerfile 路径指向 src/Dockerfile - Dockerfile: 修复 COPY 路径以匹配新的目录结构 Closes #重构项目结构
41 lines
1.7 KiB
XML
41 lines
1.7 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<NoWarn>$(NoWarn);CS1591</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
<DocumentationFile>bin\Debug\net10.0\Fengling.Console.xml</DocumentationFile>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
|
<DocumentationFile>bin\Release\net10.0\Fengling.Console.xml</DocumentationFile>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" />
|
|
<PackageReference Include="Microsoft.OpenApi" />
|
|
<PackageReference Include="NetCorePal.Extensions.AspNetCore" />
|
|
<PackageReference Include="NetCorePal.Extensions.DistributedLocks.Redis" />
|
|
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" />
|
|
<PackageReference Include="OpenIddict.Abstractions" />
|
|
<PackageReference Include="OpenIddict.AspNetCore" />
|
|
<PackageReference Include="OpenIddict.EntityFrameworkCore" />
|
|
<PackageReference Include="OpenIddict.Server" />
|
|
<PackageReference Include="OpenIddict.Server.AspNetCore" />
|
|
<PackageReference Include="SkiaSharp" />
|
|
<PackageReference Include="QRCoder" />
|
|
<PackageReference Include="Swashbuckle.AspNetCore" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="../../fengling-gateway/src/YarpGateway.csproj" />
|
|
<ProjectReference Include="../../fengling-platform/Fengling.Platform.Infrastructure/Fengling.Platform.Infrastructure.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|