2020-03-01 02:58:46 +00:00
|
|
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
2018-05-01 11:13:20 +00:00
|
|
|
|
|
|
|
<PropertyGroup>
|
2023-03-05 18:28:41 +00:00
|
|
|
<PackageId>$(MSBuildProjectName)</PackageId>
|
2023-01-07 19:38:52 +00:00
|
|
|
<TargetFrameworks>net6.0;net462</TargetFrameworks>
|
2018-06-02 07:33:26 +00:00
|
|
|
<ApplicationIcon>jackett.ico</ApplicationIcon>
|
|
|
|
<OutputType>Exe</OutputType>
|
2020-03-06 01:57:59 +00:00
|
|
|
<NoWarn></NoWarn>
|
2019-04-19 01:41:47 +00:00
|
|
|
<ServerGarbageCollection>false</ServerGarbageCollection>
|
2022-07-31 19:27:07 +00:00
|
|
|
<DefineConstants Condition="'$(RuntimeIdentifier)' == 'linux-musl-x64' or '$(RuntimeIdentifier)' == 'linux-musl-arm' or '$(RuntimeIdentifier)' == 'linux-musl-arm64'">ISLINUXMUSL</DefineConstants>
|
2018-05-01 11:13:20 +00:00
|
|
|
</PropertyGroup>
|
|
|
|
|
2021-11-17 05:06:27 +00:00
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net6.0|AnyCPU'">
|
2020-03-06 01:57:59 +00:00
|
|
|
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
|
|
|
<WarningsAsErrors />
|
|
|
|
</PropertyGroup>
|
|
|
|
|
2021-11-17 05:06:27 +00:00
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6.0|AnyCPU'">
|
2020-03-06 01:57:59 +00:00
|
|
|
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
|
|
|
<WarningsAsErrors />
|
|
|
|
</PropertyGroup>
|
|
|
|
|
2020-01-11 18:04:24 +00:00
|
|
|
<Choose>
|
2023-01-07 19:38:52 +00:00
|
|
|
<When Condition="'$(TargetFramework)' != 'net462' and $(RuntimeIdentifier.Contains('win')) == 'false'">
|
2020-01-11 18:04:24 +00:00
|
|
|
<PropertyGroup>
|
|
|
|
<AssemblyName>jackett</AssemblyName>
|
|
|
|
</PropertyGroup>
|
|
|
|
</When>
|
|
|
|
<Otherwise>
|
|
|
|
<PropertyGroup>
|
|
|
|
<AssemblyName>JackettConsole</AssemblyName>
|
|
|
|
</PropertyGroup>
|
|
|
|
</Otherwise>
|
|
|
|
</Choose>
|
2020-03-01 18:58:14 +00:00
|
|
|
|
2021-11-17 05:06:27 +00:00
|
|
|
<!-- Conditionally obtain references for the .NET 6.0 target -->
|
|
|
|
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
|
2024-03-19 12:14:57 +00:00
|
|
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.28" />
|
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" />
|
2018-05-20 11:51:52 +00:00
|
|
|
</ItemGroup>
|
2020-03-01 18:58:14 +00:00
|
|
|
|
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" />
|
2019-10-14 17:51:33 +00:00
|
|
|
</ItemGroup>
|
2020-03-01 18:58:14 +00:00
|
|
|
|
2019-10-14 17:51:33 +00:00
|
|
|
<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" />
|
2022-04-06 05:40:41 +00:00
|
|
|
<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" />
|
2024-03-19 18:07:05 +00:00
|
|
|
<PackageReference Include="System.Text.Encoding.CodePages" Version="6.0.0" />
|
2018-05-01 11:13:20 +00:00
|
|
|
</ItemGroup>
|
|
|
|
|
2018-05-01 11:26:42 +00:00
|
|
|
<ItemGroup>
|
2022-07-31 19:27:07 +00:00
|
|
|
<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>
|
2020-03-01 18:58:14 +00:00
|
|
|
<Content Include="..\..\README.md">
|
2018-06-14 09:18:17 +00:00
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
</Content>
|
2020-03-01 18:58:14 +00:00
|
|
|
<Content Include="..\..\LICENSE">
|
2018-06-14 09:18:17 +00:00
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
</Content>
|
|
|
|
</ItemGroup>
|
2020-03-01 18:58:14 +00:00
|
|
|
|
2018-05-01 11:13:20 +00:00
|
|
|
</Project>
|