Files
SPT-Server-Build/SPTarkov.Server/SPTarkov.Server.csproj
T
2025-10-02 21:34:25 +02:00

56 lines
2.8 KiB
XML

<Project Sdk="Microsoft.NET.Sdk.Web">
<Import Project="..\Build.props" />
<PropertyGroup>
<PackageId>SPTarkov.Server</PackageId>
<Authors>Single Player Tarkov</Authors>
<Description>Single Player Tarkov server launcher.</Description>
<Copyright>Copyright (c) Single Player Tarkov 2025</Copyright>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageProjectUrl>https://sp-tarkov.com</PackageProjectUrl>
<RepositoryUrl>https://github.com/sp-tarkov/server-csharp</RepositoryUrl>
<ServerGarbageCollection>true</ServerGarbageCollection>
<EnableDefaultContentItems>false</EnableDefaultContentItems>
<ImplicitUsings>enable</ImplicitUsings>
<OutputType>Exe</OutputType>
<IsPackable>true</IsPackable>
<AssemblyName>SPT.Server</AssemblyName>
<NoDefaultLaunchSettingsFile>true</NoDefaultLaunchSettingsFile>
<!-- Has to be enabled for SPTarkov.Server.Web to function properly-->
<StaticWebAssetsEnabled>true</StaticWebAssetsEnabled>
<StaticWebAssetBasePath>..\SPT_Data\wwwroot\</StaticWebAssetBasePath>
</PropertyGroup>
<PropertyGroup Condition="'$(RuntimeIdentifier)' == 'win-x64'">
<ApplicationIcon>..\Libraries\SPTarkov.Server.Assets\SPT_Data\images\icon.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup Condition="'$(RuntimeIdentifier)' == 'linux-x64'">
<AssemblyName>SPT.Server.Linux</AssemblyName>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Libraries\SPTarkov.Reflection\SPTarkov.Reflection.csproj" />
<ProjectReference Include="..\Libraries\SPTarkov.Server.Core\SPTarkov.Server.Core.csproj" />
<ProjectReference Include="..\Libraries\SPTarkov.Server.Assets\SPTarkov.Server.Assets.csproj" />
<ProjectReference Include="..\Libraries\SPTarkov.Server.Web\SPTarkov.Server.Web.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="9.0.9" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.9" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.9" />
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.9" />
</ItemGroup>
<ItemGroup>
<Content Include="Assets\**">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<ExcludeFromSingleFile>True</ExcludeFromSingleFile>
</Content>
<None Update="sptLogger.json" Condition="'$(Configuration)' == 'RELEASE'">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="sptLogger.Development.json" Condition="'$(Configuration)' == 'DEBUG'">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<None Include="..\LICENSE" Pack="true" Visible="false" PackagePath="" />
</ItemGroup>
</Project>