This repository was archived by the owner on May 12, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBones.Api.csproj
More file actions
37 lines (31 loc) · 1.6 KB
/
Copy pathBones.Api.csproj
File metadata and controls
37 lines (31 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<OutputType>Exe</OutputType>
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
<OpenApiGenerateDocuments>true</OpenApiGenerateDocuments>
<OpenApiDocumentsDirectory>$(MSBuildProjectDirectory)/OpenApi</OpenApiDocumentsDirectory>
</PropertyGroup>
<!-- install the systemd service when installing the deb/rpm -->
<PropertyGroup Condition="$(Configuration) == 'Release'">
<InstallService>true</InstallService>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Serilog.AspNetCore" Version="10.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore.ReDoc" Version="10.1.7" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.7" />
<PackageReference Include="Microsoft.Extensions.ApiDescription.Server" Version="10.0.7">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="../../Core/Bones.Logic/Bones.Logic.csproj" />
<ProjectReference Include="../../Core/Bones.Shared.Backend/Bones.Shared.Backend.csproj" />
</ItemGroup>
<ItemGroup Condition="$(Configuration) == 'Release'">
<Content Remove="appsettings.Development.json" />
<Content Include="bones-api.service" CopyToPublishDirectory="PreserveNewest" LinuxFileMode="1755">
<LinuxPath>/etc/systemd/system/bones-api.service</LinuxPath>
</Content>
</ItemGroup>
</Project>