From 6709e84acaa4eff0c473ff1468aaafa89266c2e3 Mon Sep 17 00:00:00 2001 From: Matthew Date: Sat, 1 Apr 2017 11:19:11 +0100 Subject: [PATCH] Fix Build Issues - Hardcoded path D:\bin\ removed. - Syntax error due to previous refactoring, masked by conditional compilation. --- SimpleDLNA/FormMain.cs | 2 +- sdlna/sdlna.csproj | 2 +- server/Http/HttpClient.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SimpleDLNA/FormMain.cs b/SimpleDLNA/FormMain.cs index 5c9043e2..f2a23206 100644 --- a/SimpleDLNA/FormMain.cs +++ b/SimpleDLNA/FormMain.cs @@ -37,7 +37,7 @@ public partial class FormMain : Form, IAppender #if DEBUG private readonly FileInfo logFile = - new FileInfo(Path.Combine(cacheDir, "sdlna.dbg.log")); + new FileInfo(Path.Combine(CacheDir, "sdlna.dbg.log")); #else private readonly FileInfo logFile = new FileInfo(Path.Combine(CacheDir, "sdlna.log")); diff --git a/sdlna/sdlna.csproj b/sdlna/sdlna.csproj index 5b1ea40c..ff0b2c97 100644 --- a/sdlna/sdlna.csproj +++ b/sdlna/sdlna.csproj @@ -57,7 +57,7 @@ false - D:\bin\ + bin\Release\ TRACE true pdbonly diff --git a/server/Http/HttpClient.cs b/server/Http/HttpClient.cs index cf1628bc..4107c0d4 100644 --- a/server/Http/HttpClient.cs +++ b/server/Http/HttpClient.cs @@ -384,7 +384,7 @@ private void SetupResponse() } catch (HttpStatusException ex) { #if DEBUG - Warn(String.Format("{0} - Got a {2}: {1}", this, path, ex.Code), ex); + Warn(String.Format("{0} - Got a {2}: {1}", this, Path, ex.Code), ex); #else InfoFormat("{0} - Got a {2}: {1}", this, Path, ex.Code); #endif