2020-03-01 02:58:46 +00:00
|
|
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
2018-05-01 11:13:20 +00:00
|
|
|
|
|
|
|
<PropertyGroup>
|
2021-11-17 05:06:27 +00:00
|
|
|
<TargetFrameworks>net6.0;net461</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>
|
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>
|
|
|
|
<When Condition="'$(TargetFramework)' != 'net461' and $(RuntimeIdentifier.Contains('win')) == 'false'">
|
|
|
|
<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' ">
|
2019-03-06 10:16:20 +00:00
|
|
|
<PackageReference Include="Mono.Posix.NETStandard" Version="1.0.0" />
|
2021-11-17 05:06:27 +00:00
|
|
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.0" />
|
|
|
|
<PackageReference Include="Microsoft.Extensions.Configuration" Version="6.0.0" />
|
|
|
|
<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
|
|
|
|
|
|
|
<!-- Conditionally obtain references for the .NET461 target -->
|
2019-10-14 17:51:33 +00:00
|
|
|
<ItemGroup Condition=" '$(TargetFramework)' == 'net461' ">
|
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" />
|
2020-12-08 08:10:34 +00:00
|
|
|
<PackageReference Include="Microsoft.Extensions.Configuration" Version="3.1.8" />
|
2020-01-19 17:50:12 +00:00
|
|
|
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" />
|
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>
|
2021-11-17 05:06:27 +00:00
|
|
|
<PackageReference Include="Autofac" Version="6.3.0" />
|
|
|
|
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="7.2.0" />
|
2021-11-16 18:17:10 +00:00
|
|
|
<PackageReference Include="AutoMapper" Version="10.1.1" />
|
2020-06-14 11:25:51 +00:00
|
|
|
<PackageReference Include="CommandLineParser" Version="2.8.0" />
|
2021-11-17 05:06:27 +00:00
|
|
|
<PackageReference Include="NLog" Version="4.7.12" />
|
|
|
|
<PackageReference Include="NLog.Web.AspNetCore" Version="4.14.0" />
|
|
|
|
<PackageReference Include="System.ServiceProcess.ServiceController" Version="6.0.0" />
|
|
|
|
<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>
|
|
|
|
<ProjectReference Include="..\Jackett.Common\Jackett.Common.csproj" />
|
|
|
|
</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>
|