- Timestamp:
- 11/28/12 10:02:01 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OaaS/HeuristicLab.PluginInfrastructure/3.3/Manager/PluginValidator.cs
r8200 r8958 488 488 } 489 489 490 private string AssemblyDirectory(Assembly assem) { 491 string codeBase = assem.CodeBase; 492 UriBuilder uri = new UriBuilder(codeBase); 493 string path = Uri.UnescapeDataString(uri.Path); 494 return Path.GetFullPath(path); 495 } 496 490 497 491 498 private bool IsAnyDependencyDisabled(PluginDescription descr, List<PluginDescription> disabledPlugins) { … … 512 519 try { 513 520 string assemblyName = (from assembly in AppDomain.CurrentDomain.ReflectionOnlyGetAssemblies() 514 where string.Equals(Path.GetFullPath(assembly.Location), Path.GetFullPath(assemblyLocation), StringComparison.CurrentCultureIgnoreCase) 521 where string.Equals(Path.GetFullPath(assembly.Location), Path.GetFullPath(assemblyLocation), StringComparison.CurrentCultureIgnoreCase) || 522 string.Equals(AssemblyDirectory(assembly), Path.GetFullPath(assemblyLocation), StringComparison.CurrentCultureIgnoreCase) 515 523 select assembly.FullName).Single(); 516 524 // now load the assemblies into the execution context
Note: See TracChangeset
for help on using the changeset viewer.