99 lines
4.6 KiB
XML
99 lines
4.6 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<Import Project="..\projects\project.targets" />
|
|
|
|
<PropertyGroup>
|
|
<!--aot-->
|
|
<!--<PublishAot>true</PublishAot>-->
|
|
<!--如果我们不需要全球化代码和数据,需要特定的代码和数据,并且使用不变模式-->
|
|
<!--<InvariantGlobalization>true</InvariantGlobalization>-->
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<PublishAot>false</PublishAot>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<GenerateDocumentationFile>True</GenerateDocumentationFile>
|
|
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\CloudGaming.Code.DataBaseModel\CloudGaming.Code.DataBaseModel.csproj" />
|
|
<ProjectReference Include="..\CloudGaming.Core.Identity\CloudGaming.Core.Identity.csproj" />
|
|
<ProjectReference Include="..\CloudGaming.Core.Quartz\CloudGaming.Core.Quartz.csproj" />
|
|
<ProjectReference Include="..\CloudGaming.Core.Razor\CloudGaming.Core.Razor.csproj" />
|
|
<ProjectReference Include="..\CloudGaming.Core.Redis\CloudGaming.Core.Redis.csproj" />
|
|
<ProjectReference Include="..\CloudGaming.Core.Swagger\CloudGaming.Core.Swagger.csproj" />
|
|
<ProjectReference Include="..\CloudGaming.Core\CloudGaming.Core.csproj" />
|
|
<ProjectReference Include="..\CloudGaming.Repository.Admin\CloudGaming.Repository.Admin.csproj" />
|
|
<ProjectReference Include="..\CloudGaming.Repository.Game\CloudGaming.Repository.Game.csproj" />
|
|
<ProjectReference Include="..\CloudGaming.Shared.Admin\CloudGaming.Shared.Admin.csproj" />
|
|
<ProjectReference Include="..\CloudGaming.Shared\CloudGaming.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>
|
|
<Content Update="wwwroot\code_generation\template\User\tempClientIndex.cshtml">
|
|
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</Content>
|
|
<Content Update="wwwroot\code_generation\template\User\tempClientInfo.cshtml">
|
|
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</Content>
|
|
<Content Update="wwwroot\code_generation\template\User\tempClientService.cshtml">
|
|
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</Content>
|
|
<Content Update="wwwroot\code_generation\template\User\tempController.cshtml">
|
|
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</Content>
|
|
<Content Update="wwwroot\code_generation\template\User\tempModel.cshtml">
|
|
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</Content>
|
|
<Content Update="wwwroot\code_generation\template\User\tempService.cshtml">
|
|
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Folder Include="wwwroot\client\" />
|
|
<Folder Include="wwwroot\docs\" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="AlipayEasySDK.Kernel" Version="1.0.6" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.5">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Remove="..\.dockerignore" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Reference Include="CloudGaming.AppConfigModel">
|
|
<HintPath>..\dll\CloudGaming.AppConfigModel.dll</HintPath>
|
|
</Reference>
|
|
</ItemGroup>
|
|
|
|
</Project>
|