fixed plugin assembly downloads as well as debug/release detection with nuget assemblies

This commit is contained in:
LukePulverenti
2013-02-25 00:17:59 -05:00
parent b075e0a5b9
commit 364fbb9e0c
8 changed files with 90 additions and 12 deletions

View File

@@ -119,6 +119,7 @@ namespace MediaBrowser.ServerApplication
_taskManager = new TaskManager(_applicationPaths, _jsonSerializer, Logger);
Kernel = new Kernel(this, _applicationPaths, _xmlSerializer, _taskManager, Logger);
ReloadLogger();
RegisterResources();
@@ -333,7 +334,7 @@ namespace MediaBrowser.ServerApplication
/// <exception cref="System.NotImplementedException"></exception>
public void ReloadLogger()
{
LogFilePath = Path.Combine(Kernel.ApplicationPaths.LogDirectoryPath, "Server-" + DateTime.Now.Ticks + ".log");
LogFilePath = Path.Combine(_applicationPaths.LogDirectoryPath, "Server-" + DateTime.Now.Ticks + ".log");
NlogManager.AddFileTarget(LogFilePath, Kernel.Configuration.EnableDebugLevelLogging);
}