Jackett/src/Jackett.Server/Jackett.Server.csproj

83 lines
3.7 KiB
XML
Raw Normal View History

<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<PackageId>$(MSBuildProjectName)</PackageId>
2023-01-07 19:38:52 +00:00
<TargetFrameworks>net6.0;net462</TargetFrameworks>
<ApplicationIcon>jackett.ico</ApplicationIcon>
<OutputType>Exe</OutputType>
<NoWarn></NoWarn>
<ServerGarbageCollection>false</ServerGarbageCollection>
<DefineConstants Condition="'$(RuntimeIdentifier)' == 'linux-musl-x64' or '$(RuntimeIdentifier)' == 'linux-musl-arm' or '$(RuntimeIdentifier)' == 'linux-musl-arm64'">ISLINUXMUSL</DefineConstants>
</PropertyGroup>
2021-11-17 05:06:27 +00:00
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net6.0|AnyCPU'">
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningsAsErrors />
</PropertyGroup>
2021-11-17 05:06:27 +00:00
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6.0|AnyCPU'">
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningsAsErrors />
</PropertyGroup>
<Choose>
2023-01-07 19:38:52 +00:00
<When Condition="'$(TargetFramework)' != 'net462' and $(RuntimeIdentifier.Contains('win')) == 'false'">
<PropertyGroup>
<AssemblyName>jackett</AssemblyName>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup>
<AssemblyName>JackettConsole</AssemblyName>
</PropertyGroup>
</Otherwise>
</Choose>
2021-11-17 05:06:27 +00:00
<!-- Conditionally obtain references for the .NET 6.0 target -->
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
2024-04-29 10:17:53 +00:00
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.29" />
2023-01-07 20:41:24 +00:00
<PackageReference Include="Microsoft.Extensions.Configuration" Version="6.0.1" />
2021-11-17 05:06:27 +00:00
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="6.0.0" />
</ItemGroup>
2023-01-07 19:38:52 +00:00
<!-- Conditionally obtain references for the .NET462 target -->
<ItemGroup Condition=" '$(TargetFramework)' == 'net462' ">
2018-12-23 10:54:02 +00:00
<PackageReference Include="Microsoft.AspNetCore" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.Cookies" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.ResponseCompression" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Rewrite" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.2.0" />
2023-01-07 20:41:24 +00:00
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" />
</ItemGroup>
<ItemGroup>
2023-01-07 20:41:24 +00:00
<PackageReference Include="Autofac" Version="6.5.0" />
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="8.0.0" />
2021-11-16 18:17:10 +00:00
<PackageReference Include="AutoMapper" Version="10.1.1" />
2023-01-07 20:41:24 +00:00
<PackageReference Include="CommandLineParser" Version="2.9.1" />
<PackageReference Include="Mono.Posix" Version="7.1.0-final.1.21458.1" />
2023-02-21 18:59:08 +00:00
<PackageReference Include="NLog" Version="5.1.2" />
2023-01-07 20:41:24 +00:00
<PackageReference Include="NLog.Web.AspNetCore" Version="5.2.1" />
2024-03-19 12:14:57 +00:00
<PackageReference Include="System.ServiceProcess.ServiceController" Version="6.0.1" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="6.0.0" />
</ItemGroup>
2018-05-01 11:26:42 +00:00
<ItemGroup>
<ProjectReference Include="..\Jackett.Common\Jackett.Common.csproj">
<Properties Condition="$(DefineConstants.Contains('ISLINUXMUSL')) == 'true'">DefineConstants=ISLINUXMUSL</Properties>
</ProjectReference>
2018-05-01 11:26:42 +00:00
</ItemGroup>
2018-06-14 09:18:17 +00:00
<ItemGroup>
<Content Include="..\..\README.md">
2018-06-14 09:18:17 +00:00
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="..\..\LICENSE">
2018-06-14 09:18:17 +00:00
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Project>