I'm trying to open an IFC with either the EssentModel or the HeuristicModel to save initial loading time. However, it seems that IfcStore has problems opening files with these approaches, telling me the Essent.Interop file can't be found.
Assemblies and versions affected:
XBim.Ifc
Steps (or code) to reproduce the issue:
var startMem = DateTime.Now;
IfcStore.ModelProviderFactory.UseMemoryModelProvider();
var ifcModel = IfcStore.Open(path);
var endMem = DateTime.Now;
Debug.WriteLine($"TOTAL ELAPSED MEM: {endMem-startMem}");
var startHeuristic = DateTime.Now;
IfcStore.ModelProviderFactory.UseHeuristicModelProvider();
var endHeuristic = DateTime.Now;
ifcModel = IfcStore.Open(path);
Debug.WriteLine($"TOTAL ELAPSED HEURISTIC: {endHeuristic-startHeuristic}");
var startEssent = DateTime.Now;
IfcStore.ModelProviderFactory.UseEsentModelProvider();
var endEssent = DateTime.Now;
ifcModel = IfcStore.Open(path);
Debug.WriteLine($"TOTAL ELAPSED ESSENT: {endEssent-startEssent}");
Expected behavior:
the file to open as expected
Actual behavior or exception details:
Could not load file or assembly 'Esent.Interop, Version=1.9.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
I'm trying to open an IFC with either the EssentModel or the HeuristicModel to save initial loading time. However, it seems that IfcStore has problems opening files with these approaches, telling me the Essent.Interop file can't be found.
Assemblies and versions affected:
XBim.Ifc
Steps (or code) to reproduce the issue:
Expected behavior:
the file to open as expected
Actual behavior or exception details:
Could not load file or assembly 'Esent.Interop, Version=1.9.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.