- Changed lib probing paths

- Fixed a pdb error
This commit is contained in:
lukeIam authored and derivator committed 2015-12-06 13:42:28 +01:00
1 parent 73efe1e4b6
commit 95a5543a04
3 files changed
+18 -4

No files matched your search

+9
View File
@@ -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;