- Timestamp:
- 12/12/18 14:23:45 (6 years ago)
- Location:
- branches/2931_OR-Tools_LP_MIP/HeuristicLab.ExtLibs/HeuristicLab.OrTools/6.10.0
- Files:
-
- 8 added
- 4 deleted
- 2 edited
- 2 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/2931_OR-Tools_LP_MIP/HeuristicLab.ExtLibs/HeuristicLab.OrTools/6.10.0/HeuristicLab.OrTools-6.10.0/HeuristicLab.OrTools-6.10.0.csproj
r16368 r16373 9 9 <AppDesignerFolder>Properties</AppDesignerFolder> 10 10 <RootNamespace>HeuristicLab.OrTools</RootNamespace> 11 <AssemblyName>HeuristicLab.OrTools-6. 9.0-pre</AssemblyName>11 <AssemblyName>HeuristicLab.OrTools-6.10.0</AssemblyName> 12 12 <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> 13 13 <FileAlignment>512</FileAlignment> -
branches/2931_OR-Tools_LP_MIP/HeuristicLab.ExtLibs/HeuristicLab.OrTools/6.10.0/HeuristicLab.OrTools-6.10.0/Plugin.cs.frame
r16288 r16373 28 28 namespace HeuristicLab.OrTools { 29 29 30 [Plugin("HeuristicLab.OrTools", "Provides functionality of Google OR-Tools in HeuristicLab. Requires Windows 64-bit", "6. 9.0.$WCREV$")]31 [PluginFile("HeuristicLab.OrTools-6. 9.0-pre.dll", PluginFileType.Assembly)]30 [Plugin("HeuristicLab.OrTools", "Provides functionality of Google OR-Tools in HeuristicLab. Requires Windows 64-bit", "6.10.0.$WCREV$")] 31 [PluginFile("HeuristicLab.OrTools-6.10.0.dll", PluginFileType.Assembly)] 32 32 [PluginFile("Google.OrTools.dll", PluginFileType.Assembly)] 33 33 [PluginFile("Google.OrTools-license.txt", PluginFileType.License)] … … 40 40 41 41 ~HeuristicLabOrToolsPlugin() { 42 OnUnload(); // HACK: remove once ticket #2961 is solved42 OnUnload(); // HACK: remove once ticket #2961 is resolved 43 43 } 44 44 … … 46 46 base.OnUnload(); 47 47 48 var thisClass = typeof(HeuristicLabOrToolsPlugin); 49 var dir = new FileInfo(thisClass.Assembly.Location).Directory; 50 if (dir == null) 48 var dllDir = new FileInfo(GetType().Assembly.Location).Directory; 49 if (dllDir == null) 51 50 return; 52 51 53 var nativeDlls = thisClass.GetCustomAttributes(typeof(PluginFileAttribute), true)52 var nativeDlls = GetType().GetCustomAttributes(typeof(PluginFileAttribute), true) 54 53 .Cast<PluginFileAttribute>() 55 54 .Where(pf => pf.FileType == PluginFileType.NativeDll) 56 55 .Select(pf => pf.FileName); 57 56 58 foreach (var nativeDll in d ir.EnumerateFiles().Where(f => nativeDlls.Contains(f.Name))) {57 foreach (var nativeDll in dllDir.EnumerateFiles().Where(f => nativeDlls.Contains(f.Name))) { 59 58 var handle = LoadLibrary(nativeDll.FullName); 60 59 if (handle == IntPtr.Zero) -
branches/2931_OR-Tools_LP_MIP/HeuristicLab.ExtLibs/HeuristicLab.OrTools/6.10.0/HeuristicLab.OrTools-6.10.0/Properties/AssemblyInfo.cs.frame
r16070 r16373 53 53 // by using the '*' as shown below: 54 54 // [assembly: AssemblyVersion("1.0.*")] 55 [assembly: AssemblyVersion("6. 8.0.0")]56 [assembly: AssemblyFileVersion("6. 8.0.$WCREV$")]55 [assembly: AssemblyVersion("6.10.0.0")] 56 [assembly: AssemblyFileVersion("6.10.0.$WCREV$")]
Note: See TracChangeset
for help on using the changeset viewer.