From 364fbb9e0c7586afa296ddd7d739df086f4c3533 Mon Sep 17 00:00:00 2001 From: LukePulverenti Date: Mon, 25 Feb 2013 00:17:59 -0500 Subject: fixed plugin assembly downloads as well as debug/release detection with nuget assemblies --- .../ServerApplicationPaths.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'MediaBrowser.Server.Implementations/ServerApplicationPaths.cs') diff --git a/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs b/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs index e473808f5..a5e5b39c4 100644 --- a/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs +++ b/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs @@ -9,6 +9,20 @@ namespace MediaBrowser.Server.Implementations /// public class ServerApplicationPaths : BaseApplicationPaths, IServerApplicationPaths { +#if (DEBUG) + /// + /// Initializes a new instance of the class. + /// + public ServerApplicationPaths() + : base(true) + { + } +#elif (RELEASE) + public ServerApplicationPaths() + : base(false) + { + } +#endif /// /// The _root folder path /// -- cgit v1.2.3