62 lines
2.9 KiB
XML
62 lines
2.9 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<Deterministic>true</Deterministic>
|
|
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
|
|
<Configurations>Debug;Release;Shipping</Configurations>
|
|
<NoWarn>8600,8602,8603,8604</NoWarn>
|
|
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
|
<ImportDirectoryBuildProps>true</ImportDirectoryBuildProps>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<ConsoleOutputEncoding>UTF-8</ConsoleOutputEncoding>
|
|
</PropertyGroup>
|
|
<Target Name="PreventDepsJsonAndRuntimeConfigFromBeingDeleted" AfterTargets="AddDepsJsonAndRuntimeConfigToCopyItemsForReferencingProjects" Condition="'$(HasRuntimeOutput)' == 'true'">
|
|
<ItemGroup>
|
|
<AllItemsFullPathWithTargetPath Remove="$(ProjectDepsFilePath)"/>
|
|
<AllItemsFullPathWithTargetPath Remove="$(ProjectRuntimeConfigFilePath)"/>
|
|
<AllItemsFullPathWithTargetPath Remove="$(ProjectRuntimeConfigDevFilePath)"/>
|
|
</ItemGroup>
|
|
</Target>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
|
<NoWarn>1591</NoWarn>
|
|
<DebugType>full</DebugType>
|
|
<DefineConstants>$(DefineConstants);SEQUENCE</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
|
<NoWarn>1591</NoWarn>
|
|
<DebugType>full</DebugType>
|
|
<DefineConstants>$(DefineConstants);SEQUENCE</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Shipping|AnyCPU'">
|
|
<NoWarn>1591</NoWarn>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<DefineConstants>$(DefineConstants);SEQUENCE</DefineConstants>
|
|
</PropertyGroup>
|
|
<!-- <PropertyGroup>-->
|
|
<!-- <GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>-->
|
|
<!-- </PropertyGroup>-->
|
|
<ItemGroup>
|
|
<PackageReference Include="Asp.Versioning.Mvc"/>
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Swashbuckle.AspNetCore.Annotations"/>
|
|
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI"/>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\Tools\ControlCenter\ControlCenter.NamedPipeHost\ControlCenter.NamedPipeHost.csproj"/>
|
|
<ProjectReference Include="..\BrokerApiCore\BrokerApiCore.csproj"/>
|
|
<ProjectReference Include="..\ServerCommon\ServerCommon.csproj"/>
|
|
<ProjectReference Include="..\ServerCore\ServerCore.csproj"/>
|
|
</ItemGroup>
|
|
</Project>
|