mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Target full framework (Mono) as well for transition period
This commit is contained in:
@@ -191,12 +191,12 @@ namespace Jackett.Server.Controllers
|
|||||||
{
|
{
|
||||||
if (t.Key == "Tracker[]")
|
if (t.Key == "Tracker[]")
|
||||||
{
|
{
|
||||||
request.Tracker = t.Value.ToString().Split(",");
|
request.Tracker = t.Value.ToString().Split(',');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (t.Key == "Category[]")
|
if (t.Key == "Category[]")
|
||||||
{
|
{
|
||||||
request.Category = t.Value.ToString().Split(",").Select(Int32.Parse).ToArray();
|
request.Category = t.Value.ToString().Split(',').Select(Int32.Parse).ToArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (t.Key == "query")
|
if (t.Key == "query")
|
||||||
|
@@ -1,9 +1,30 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
<TargetFrameworks>netcoreapp2.1;net461</TargetFrameworks>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<!-- Conditionally obtain references for the .NET Core App 2.1 target -->
|
||||||
|
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">
|
||||||
|
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.0-rc1-final" />
|
||||||
|
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="4.4.0" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<!-- Conditionally obtain references for the .NET Full 4.6.1 target -->
|
||||||
|
<ItemGroup Condition=" '$(TargetFramework)' == 'net461' ">
|
||||||
|
<PackageReference Include="Microsoft.AspNetCore" Version="2.1.0-rc1-final" />
|
||||||
|
<PackageReference Include="Microsoft.AspNetCore.Authentication" Version="2.1.0-rc1-final" />
|
||||||
|
<PackageReference Include="Microsoft.AspNetCore.Authentication.Cookies" Version="2.1.0-rc1-final" />
|
||||||
|
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.1.0-rc1-final" />
|
||||||
|
<PackageReference Include="Microsoft.AspNetCore.ResponseCompression" Version="2.1.0-rc1-final" />
|
||||||
|
<PackageReference Include="Microsoft.AspNetCore.Rewrite" Version="2.1.0-rc1-final" />
|
||||||
|
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.1.0-rc1-final" />
|
||||||
|
<PackageReference Include="Microsoft.Extensions.Configuration" Version="2.1.0-rc1-final" />
|
||||||
|
<PackageReference Include="Microsoft.Extensions.FileProviders.Physical" Version="2.1.0-rc1-final" />
|
||||||
|
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.5.0-rc1" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="wwwroot\" />
|
<Folder Include="wwwroot\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
@@ -13,8 +34,6 @@
|
|||||||
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="4.2.2" />
|
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="4.2.2" />
|
||||||
<PackageReference Include="AutoMapper" Version="6.2.2" />
|
<PackageReference Include="AutoMapper" Version="6.2.2" />
|
||||||
<PackageReference Include="CommandLineParser" Version="2.2.1" />
|
<PackageReference Include="CommandLineParser" Version="2.2.1" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.0-rc1-final" />
|
|
||||||
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="4.4.0" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
Reference in New Issue
Block a user