diff --git a/Emby.Dlna/DlnaManager.cs b/Emby.Dlna/DlnaManager.cs
index c5798a5d1..c348e658c 100644
--- a/Emby.Dlna/DlnaManager.cs
+++ b/Emby.Dlna/DlnaManager.cs
@@ -560,17 +560,19 @@ namespace Emby.Dlna
? ImageFormat.Png
: ImageFormat.Jpg;
+ var resource = GetType().Namespace + ".Images." + filename.ToLower();
+
#if NET46
return new ImageStream
{
Format = format,
- Stream = GetType().Assembly.GetManifestResourceStream("MediaBrowser.Dlna.Images." + filename.ToLower())
+ Stream = GetType().Assembly.GetManifestResourceStream(resource)
};
#elif NETSTANDARD1_6
return new ImageStream
{
Format = format,
- Stream = GetType().GetTypeInfo().Assembly.GetManifestResourceStream("MediaBrowser.Dlna.Images." + filename.ToLower())
+ Stream = GetType().GetTypeInfo().Assembly.GetManifestResourceStream(resource)
};
#endif
throw new NotImplementedException();
diff --git a/Emby.Server.Implementations/Emby.Server.Implementations.csproj b/Emby.Server.Implementations/Emby.Server.Implementations.csproj
index 152a165e2..7829193c5 100644
--- a/Emby.Server.Implementations/Emby.Server.Implementations.csproj
+++ b/Emby.Server.Implementations/Emby.Server.Implementations.csproj
@@ -131,6 +131,8 @@
+
+
@@ -178,6 +180,7 @@
+
@@ -197,6 +200,10 @@
{7eeeb4bb-f3e8-48fc-b4c5-70f0fff8329b}
MediaBrowser.Model
+
+ {442b5058-dcaf-4263-bb6a-f21e31120a1b}
+ MediaBrowser.Providers
+