From 95a5543a04cd4f52c5749b19b5183626e3853594 Mon Sep 17 00:00:00 2001 From: lukeIam Date: Thu, 1 Oct 2015 22:36:51 +0200 Subject: [PATCH] - Changed lib probing paths - Fixed a pdb error --- Vocaluxe/Program.cs | 9 +++++++++ Vocaluxe/Vocaluxe.csproj | 2 +- Vocaluxe/app.config | 11 ++++++++--- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/Vocaluxe/Program.cs b/Vocaluxe/Program.cs index 43964170..4da68bf2 100644 --- a/Vocaluxe/Program.cs +++ b/Vocaluxe/Program.cs @@ -52,6 +52,15 @@ namespace Vocaluxe AppDomain.CurrentDomain.UnhandledException += UnhandledExceptionHandler; #endif AppDomain.CurrentDomain.AssemblyResolve += _AssemblyResolver; + COSFunctions.AddEnvironmentPath(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "libs\\unmanaged\\")); + #if ARCH_X86 + COSFunctions.AddEnvironmentPath(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "libs\\unmanaged\\x86\\")); +#endif +#if ARCH_X64 + COSFunctions.AddEnvironmentPath(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "libs\\unmanaged\\x64\\")); +#endif + + // Close program if there is another instance running if (!_EnsureSingleInstance()) return; diff --git a/Vocaluxe/Vocaluxe.csproj b/Vocaluxe/Vocaluxe.csproj index 795172ef..7ed82318 100644 --- a/Vocaluxe/Vocaluxe.csproj +++ b/Vocaluxe/Vocaluxe.csproj @@ -517,7 +517,7 @@ powershell -command "(Get-Content -Encoding UTF8 '$(ProjectDir)Properties\Assemb - + - - -