Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit a39c4e8b authored by Michael KRISPER's avatar Michael KRISPER
Browse files

HashingLib: corrected some error (GetName after loading the assembly)

parent e2416d46
No related branches found
No related tags found
No related merge requests found
......@@ -242,7 +242,6 @@ hashingcmd.exe
WriteLine("computing hashes");
var components = h.GetContainigComponents();
if (components.Count > 1) {
var grouped = components.GroupBy(s => s)
.Select(g => new { Entry = g.Key, Count = g.Count() });
......@@ -290,7 +289,7 @@ hashingcmd.exe
private static void ShowVersionInformation()
{
var hashingLib = Assembly.LoadFile(AppDomain.CurrentDomain.BaseDirectory + "VectoHashing.dll");
var hashingLib = Assembly.LoadFile(AppDomain.CurrentDomain.BaseDirectory + "VectoHashing.dll").GetName();
WriteLine(string.Format(@"HashingLibrary: {0}", hashingLib.Version));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment