From bdab0a1588fa4347d168c69f803a13cf607b4166 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 19 Nov 2016 11:51:49 -0500 Subject: move TypeMapper to portable project --- Emby.Common.Implementations/Reflection/AssemblyInfo.cs | 5 +++++ Emby.Common.Implementations/project.json | 2 ++ 2 files changed, 7 insertions(+) (limited to 'Emby.Common.Implementations') diff --git a/Emby.Common.Implementations/Reflection/AssemblyInfo.cs b/Emby.Common.Implementations/Reflection/AssemblyInfo.cs index bd2cb7cf0b..7a92f02d6b 100644 --- a/Emby.Common.Implementations/Reflection/AssemblyInfo.cs +++ b/Emby.Common.Implementations/Reflection/AssemblyInfo.cs @@ -22,5 +22,10 @@ namespace Emby.Common.Implementations.Reflection #endif return type.GetTypeInfo().Assembly.GetManifestResourceNames(); } + + public Assembly[] GetCurrentAssemblies() + { + return AppDomain.CurrentDomain.GetAssemblies(); + } } } diff --git a/Emby.Common.Implementations/project.json b/Emby.Common.Implementations/project.json index b0a35bdf38..409687ea16 100644 --- a/Emby.Common.Implementations/project.json +++ b/Emby.Common.Implementations/project.json @@ -14,6 +14,7 @@ "System.Net.Http": "4.0.0.0", "System.Net.Primitives": "4.0.0.0", "System.Net.Http.WebRequest": "4.0.0.0", + "System.Reflection": "4.0.0.0", "System.Runtime": "4.0.0.0", "System.Runtime.Extensions": "4.0.0.0", "System.Text.Encoding": "4.0.0.0", @@ -57,6 +58,7 @@ "ServiceStack.Text.Core": "1.0.27", "NLog": "4.4.0-betaV15", "sharpcompress": "0.14.0", + "System.AppDomain": "2.0.11", "MediaBrowser.Model": { "target": "project" }, -- cgit v1.2.3