Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/09/16 16:26:30 (8 years ago)
Author:
abeham
Message:

#2651: removed workaround, added application base directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Igraph/0.8.0-pre/HeuristicLab.Igraph-0.8.0-pre/DllImporter.cs

    r14247 r14250  
    2121
    2222using System;
    23 using System.IO;
    2423using System.Runtime.InteropServices;
    2524
     
    3029    private readonly static bool X86 = false;
    3130
    32     [DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
    33     private static extern bool SetDllDirectory(string lpPathName);
    34 
    3531    static DllImporter() {
    3632      X86 = !Environment.Is64BitProcess;
    37       // Possible workaround as the builder doesn't execute the tests within the bin directory
    38       if (Directory.Exists(Path.Combine(Environment.CurrentDirectory, "bin")))
    39         SetDllDirectory(Path.Combine(Environment.CurrentDirectory, "bin"));
    4033    }
    4134
Note: See TracChangeset for help on using the changeset viewer.