diff --git a/MediaBrowser.WebDashboard/Api/DashboardInfoWebSocketListener.cs b/MediaBrowser.WebDashboard/Api/DashboardInfoWebSocketListener.cs index 299ba46825..30eabb63dd 100644 --- a/MediaBrowser.WebDashboard/Api/DashboardInfoWebSocketListener.cs +++ b/MediaBrowser.WebDashboard/Api/DashboardInfoWebSocketListener.cs @@ -4,7 +4,6 @@ using MediaBrowser.Controller; using MediaBrowser.Controller.Library; using MediaBrowser.Controller.Session; using MediaBrowser.Model.Logging; -using System.ComponentModel.Composition; using System.Threading.Tasks; namespace MediaBrowser.WebDashboard.Api @@ -12,7 +11,6 @@ namespace MediaBrowser.WebDashboard.Api /// /// Class DashboardInfoWebSocketListener /// - [Export(typeof(IWebSocketListener))] class DashboardInfoWebSocketListener : BasePeriodicWebSocketListener { /// diff --git a/MediaBrowser.WebDashboard/Api/DashboardService.cs b/MediaBrowser.WebDashboard/Api/DashboardService.cs index 56c7b99f9f..683ecda978 100644 --- a/MediaBrowser.WebDashboard/Api/DashboardService.cs +++ b/MediaBrowser.WebDashboard/Api/DashboardService.cs @@ -13,7 +13,6 @@ using MediaBrowser.Model.Tasks; using ServiceStack.ServiceHost; using System; using System.Collections.Generic; -using System.ComponentModel.Composition; using System.Diagnostics; using System.IO; using System.Linq; @@ -82,7 +81,6 @@ namespace MediaBrowser.WebDashboard.Api /// /// Class DashboardService /// - [Export(typeof(IRestfulService))] public class DashboardService : IRestfulService, IHasResultFactory { /// diff --git a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj index 8a6eb0e317..88086ad7bc 100644 --- a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj +++ b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj @@ -48,10 +48,7 @@ ..\packages\ServiceStack.Text.3.9.44\lib\net35\ServiceStack.Text.dll - - -