64 lines
2.5 KiB
XML
64 lines
2.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<Import Project="..\projects\project.targets" />
|
|
|
|
<PropertyGroup>
|
|
<!--aot-->
|
|
<!--<PublishAot>true</PublishAot>-->
|
|
<!--如果我们不需要全球化代码和数据,需要特定的代码和数据,并且使用不变模式-->
|
|
<!--<InvariantGlobalization>true</InvariantGlobalization>-->
|
|
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Remove="wwwroot\client\**" />
|
|
<Content Remove="wwwroot\client\**" />
|
|
<EmbeddedResource Remove="wwwroot\client\**" />
|
|
<None Remove="wwwroot\client\**" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\MiaoYu.Core.Cos\MiaoYu.Core.Cos.csproj" />
|
|
<ProjectReference Include="..\MiaoYu.Core.Identity\MiaoYu.Core.Identity.csproj" />
|
|
<ProjectReference Include="..\MiaoYu.Core.Quartz\MiaoYu.Core.Quartz.csproj" />
|
|
<ProjectReference Include="..\MiaoYu.Core.Razor\MiaoYu.Core.Razor.csproj" />
|
|
<ProjectReference Include="..\MiaoYu.Core.Redis\MiaoYu.Core.Redis.csproj" />
|
|
<ProjectReference Include="..\MiaoYu.Core.Swagger\MiaoYu.Core.Swagger.csproj" />
|
|
<ProjectReference Include="..\MiaoYu.Core\MiaoYu.Core.csproj" />
|
|
<ProjectReference Include="..\MiaoYu.Repository.Admin\MiaoYu.Repository.Admin.csproj" />
|
|
<ProjectReference Include="..\MiaoYu.Repository.ChatAI.Admin\MiaoYu.Repository.ChatAI.Admin.csproj" />
|
|
<ProjectReference Include="..\MiaoYu.Shared.Admin\MiaoYu.Shared.Admin.csproj" />
|
|
<ProjectReference Include="..\MiaoYu.Shared\MiaoYu.Shared.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Update="appsettings.Development.json">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</Content>
|
|
<Content Update="appsettings.json">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</Content>
|
|
<Content Update="appsettings.Production.json">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Folder Include="wwwroot\docs\" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.2">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
</Project>
|