diff --git a/shadowsocks-csharp/Program.cs b/shadowsocks-csharp/Program.cs index e24ab322..5b723acd 100755 --- a/shadowsocks-csharp/Program.cs +++ b/shadowsocks-csharp/Program.cs @@ -26,6 +26,7 @@ namespace Shadowsocks [STAThread] static void Main(string[] args) { + Directory.SetCurrentDirectory(Application.StartupPath); // todo: initialize the NLog configuartion Model.NLogConfig.TouchAndApplyNLogConfig();