The Free Software Media System - Server Backend & API
Remove some unused references
Claus Vium040871459b57
diff --git a/Emby.Dlna/MediaReceiverRegistrar/MediaReceiverRegistrar.cs b/Emby.Dlna/MediaReceiverRegistrar/MediaReceiverRegistrar.csindex 9c6022b6cb..e47143c16a 100644--- a/Emby.Dlna/MediaReceiverRegistrar/MediaReceiverRegistrar.cs+++ b/Emby.Dlna/MediaReceiverRegistrar/MediaReceiverRegistrar.cs@@ -1,9 +1,7 @@-using System.Collections.Generic;using Emby.Dlna.Service;using MediaBrowser.Common.Net;using MediaBrowser.Controller.Configuration;using MediaBrowser.Model.Xml;-using Microsoft.AspNetCore.Http;using Microsoft.Extensions.Logging;namespace Emby.Dlna.MediaReceiverRegistrardiff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.csindex c2e6481af7..00a5f864df 100644--- a/Emby.Server.Implementations/ApplicationHost.cs+++ b/Emby.Server.Implementations/ApplicationHost.cs@@ -111,13 +111,11 @@ using Microsoft.AspNetCore.Builder;using Microsoft.AspNetCore.Hosting;using Microsoft.AspNetCore.Http;using Microsoft.AspNetCore.Http.Extensions;-using Microsoft.AspNetCore.Mvc.Infrastructure;using Microsoft.Extensions.Configuration;using Microsoft.Extensions.Logging;using Microsoft.Extensions.DependencyInjection;using Microsoft.Extensions.DependencyInjection.Extensions;using ServiceStack;-using X509Certificate = System.Security.Cryptography.X509Certificates.X509Certificate;namespace Emby.Server.Implementations{@@ -638,7 +636,6 @@ namespace Emby.Server.Implementations{services.AddResponseCompression();services.AddHttpContextAccessor();- services.TryAddSingleton<IActionContextAccessor, ActionContextAccessor>();}).Configure(app =>{diff --git a/Emby.Server.Implementations/Emby.Server.Implementations.csproj b/Emby.Server.Implementations/Emby.Server.Implementations.csprojindex d4db5f2fcc..39e9ed3756 100644--- a/Emby.Server.Implementations/Emby.Server.Implementations.csproj+++ b/Emby.Server.Implementations/Emby.Server.Implementations.csproj@@ -26,11 +26,7 @@<PackageReference Include="Microsoft.AspNetCore.Hosting.Server.Abstractions" Version="2.2.0" /><PackageReference Include="Microsoft.AspNetCore.Http" Version="2.2.2" /><PackageReference Include="Microsoft.AspNetCore.Http.Extensions" Version="2.2.0" />- <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.2.0" />- <PackageReference Include="Microsoft.AspNetCore.Mvc.Abstractions" Version="2.2.0" />- <PackageReference Include="Microsoft.AspNetCore.ResponseCaching" Version="2.2.0" /><PackageReference Include="Microsoft.AspNetCore.ResponseCompression" Version="2.2.0" />- <PackageReference Include="Microsoft.AspNetCore.Routing" Version="2.2.2" /><PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="2.2.0" /><PackageReference Include="Microsoft.AspNetCore.WebSockets" Version="2.2.1" /><PackageReference Include="Microsoft.Extensions.Logging" Version="2.2.0" />diff --git a/Emby.Server.Implementations/Startup.cs b/Emby.Server.Implementations/Startup.csdeleted file mode 100644index 164c7eeaa7..0000000000--- a/Emby.Server.Implementations/Startup.cs+++ /dev/null@@ -1,34 +0,0 @@-using System;-using System.Linq;-using MediaBrowser.Api;-using MediaBrowser.Controller;-using Microsoft.AspNetCore.Builder;-using Microsoft.AspNetCore.Hosting;-using Microsoft.AspNetCore.Http;-using Microsoft.AspNetCore.Routing;-using Microsoft.Extensions.Configuration;-using Microsoft.Extensions.DependencyInjection;-using Microsoft.Extensions.Logging;--namespace Emby.Server.Implementations-{- public class Startup- {- public IConfiguration Configuration { get; }-- public Startup(IConfiguration configuration) => Configuration = configuration;-- // Use this method to add services to the container.- public void ConfigureServices(IServiceCollection services)- {- services.AddRouting();- }-- // Use this method to configure the HTTP request pipeline.- public void Configure(IApplicationBuilder app)- {-- }- }--}