target 4.6

This commit is contained in:
Luke Pulverenti 2016-10-23 16:46:48 -04:00
parent 824dfae7c3
commit ecc6d41f98
4 changed files with 30 additions and 22 deletions

View File

@ -1,4 +1,6 @@
namespace Trakt.ScheduledTasks
using MediaBrowser.Model.Tasks;
namespace Trakt.ScheduledTasks
{
using System;
using System.Collections.Generic;
@ -10,7 +12,6 @@
using CommonIO;
using MediaBrowser.Common.Net;
using MediaBrowser.Common.ScheduledTasks;
using MediaBrowser.Controller;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Entities.Movies;
@ -373,13 +374,18 @@
public string Key
{
get { return "TraktSyncFromTraktTask"; }
}
/// <summary>
///
/// </summary>
/// <returns></returns>
public IEnumerable<ITaskTrigger> GetDefaultTriggers()
public IEnumerable<TaskTriggerInfo> GetDefaultTriggers()
{
return new List<ITaskTrigger>();
return new List<TaskTriggerInfo>();
}
/// <summary>

View File

@ -1,4 +1,6 @@
namespace Trakt.ScheduledTasks
using MediaBrowser.Model.Tasks;
namespace Trakt.ScheduledTasks
{
using System;
using System.Collections.Generic;
@ -9,7 +11,6 @@
using CommonIO;
using MediaBrowser.Common.Net;
using MediaBrowser.Common.ScheduledTasks;
using MediaBrowser.Controller;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Entities.Movies;
@ -48,9 +49,14 @@
_traktApi = new TraktApi(jsonSerializer, _logger, httpClient, appHost, userDataManager, fileSystem);
}
public IEnumerable<ITaskTrigger> GetDefaultTriggers()
public IEnumerable<TaskTriggerInfo> GetDefaultTriggers()
{
return new List<ITaskTrigger>();
return new List<TaskTriggerInfo>();
}
public string Key
{
get { return "TraktSyncLibraryTask"; }
}
public async Task Execute(CancellationToken cancellationToken, IProgress<double> progress)

View File

@ -9,10 +9,11 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Trakt</RootNamespace>
<AssemblyName>Trakt</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@ -36,20 +37,16 @@
<HintPath>..\packages\CommonIO.1.0.0.9\lib\net45\CommonIO.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Interfaces.IO">
<HintPath>..\packages\Interfaces.IO.1.0.0.5\lib\portable-net45+sl4+wp71+win8+wpa81\Interfaces.IO.dll</HintPath>
<Reference Include="MediaBrowser.Common, Version=3.1.6140.29430, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MediaBrowser.Common.3.0.667\lib\net45\MediaBrowser.Common.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="MediaBrowser.Common, Version=3.1.6127.24820, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MediaBrowser.Common.3.0.662\lib\net45\MediaBrowser.Common.dll</HintPath>
<Reference Include="MediaBrowser.Controller, Version=3.1.6140.29428, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MediaBrowser.Server.Core.3.0.667\lib\net45\MediaBrowser.Controller.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="MediaBrowser.Controller, Version=3.1.6127.24818, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MediaBrowser.Server.Core.3.0.662\lib\net45\MediaBrowser.Controller.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="MediaBrowser.Model, Version=3.1.6127.24820, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MediaBrowser.Common.3.0.662\lib\net45\MediaBrowser.Model.dll</HintPath>
<Reference Include="MediaBrowser.Model, Version=3.1.6140.29430, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MediaBrowser.Common.3.0.667\lib\net45\MediaBrowser.Model.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Patterns.Logging">

View File

@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="CommonIO" version="1.0.0.9" targetFramework="net45" />
<package id="Interfaces.IO" version="1.0.0.5" targetFramework="net45" />
<package id="MediaBrowser.Common" version="3.0.662" targetFramework="net45" />
<package id="MediaBrowser.Server.Core" version="3.0.662" targetFramework="net45" />
<package id="MediaBrowser.Common" version="3.0.667" targetFramework="net46" />
<package id="MediaBrowser.Server.Core" version="3.0.667" targetFramework="net46" />
<package id="Patterns.Logging" version="1.0.0.2" targetFramework="net45" />
<package id="ServiceStack.Interfaces" version="4.0.35" targetFramework="net45" />
</packages>