-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please help to could not load file or assembly Xbim.Geometry.Engine64 or one of its dependencies #215
Comments
we have the following coding for converting IFC file to WEXBIM Error showing below line Code:
we need 64 bit dll because while running through IIS its should works fine |
Make sure the |
Dear all,
I have copied that dll into websites bin folder and also added in reference, even though we have the problem please help me regarding
Method 'get_Logger' in type 'Xbim.Geometry.XbimGeometryCreator' from assembly 'Xbim.Geometry.Engine64, Version=0.0.0.0, Culture=neutral, PublicKeyToken=11e3655e576ec5a9' does not have an implementation.
Best Regards,
Castro Nelson D
Software Engineer
Email: <mailto:[email protected]> [email protected] | Voice: +91-422-711 5566, +91 93632-20483 | Ext. 508
<http://www.greenestbuilding.com/>
WORLD'S SECOND HIGHEST RANKING GREEN BUILDING
rated by GBCI under LEED NC v2009
<https://www.greenestbuilding.com/efacility-building-walkthrough-worlds-second-greenest-building/>
From: Andy Ward [mailto:[email protected]]
Sent: 11 September 2019 03:46
To: xBimTeam/XbimGeometry <[email protected]>
Cc: castronelson <[email protected]>; Author <[email protected]>
Subject: Re: [xBimTeam/XbimGeometry] Please help to could not load file or assembly Xbim.Geometry.Engine64 or one of its dependencies (#215)
Make sure the Xbim.Geometry.Engine64.dll DLL is being copied into your websites's bin[Config] folder.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#215?email_source=notifications&email_token=AMUVKXGOQQAGVQVVB55JRA3QJAMBPA5CNFSM4IVKAADKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6MVDSY#issuecomment-530141643> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AMUVKXAJL73EKNCCCCQOWLDQJAMBPANCNFSM4IVKAADA> .
|
Dear all,
The below error showing ,please provide any solutions or sample code for converting IFC file to WEXBIM
Best Regards,
Castro Nelson D
Software Engineer
Email: <mailto:[email protected]> [email protected] | Voice: +91-422-711 5566, +91 93632-20483 | Ext. 508
<http://www.greenestbuilding.com/>
WORLD'S SECOND HIGHEST RANKING GREEN BUILDING
rated by GBCI under LEED NC v2009
<https://www.greenestbuilding.com/efacility-building-walkthrough-worlds-second-greenest-building/>
From: Castro Nelson D, SIERRA [mailto:[email protected]]
Sent: 11 September 2019 10:18
To: 'xBimTeam/XbimGeometry' <[email protected]>; 'xBimTeam/XbimGeometry' <[email protected]>
Cc: 'Author' <[email protected]>
Subject: RE: [xBimTeam/XbimGeometry] Please help to could not load file or assembly Xbim.Geometry.Engine64 or one of its dependencies (#215)
Dear all,
I have copied that dll into websites bin folder and also added in reference, even though we have the problem please help me regarding
Method 'get_Logger' in type 'Xbim.Geometry.XbimGeometryCreator' from assembly 'Xbim.Geometry.Engine64, Version=0.0.0.0, Culture=neutral, PublicKeyToken=11e3655e576ec5a9' does not have an implementation.
Best Regards,
Castro Nelson D
Software Engineer
Email: <mailto:[email protected]> [email protected] | Voice: +91-422-711 5566, +91 93632-20483 | Ext. 508
<http://www.greenestbuilding.com/>
WORLD'S SECOND HIGHEST RANKING GREEN BUILDING
rated by GBCI under LEED NC v2009
<https://www.greenestbuilding.com/efacility-building-walkthrough-worlds-second-greenest-building/>
From: Andy Ward [mailto:[email protected]]
Sent: 11 September 2019 03:46
To: xBimTeam/XbimGeometry <[email protected] <mailto:[email protected]> >
Cc: castronelson <[email protected] <mailto:[email protected]> >; Author <[email protected] <mailto:[email protected]> >
Subject: Re: [xBimTeam/XbimGeometry] Please help to could not load file or assembly Xbim.Geometry.Engine64 or one of its dependencies (#215)
Make sure the Xbim.Geometry.Engine64.dll DLL is being copied into your websites's bin[Config] folder.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#215?email_source=notifications&email_token=AMUVKXGOQQAGVQVVB55JRA3QJAMBPA5CNFSM4IVKAADKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6MVDSY#issuecomment-530141643> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AMUVKXAJL73EKNCCCCQOWLDQJAMBPANCNFSM4IVKAADA> .
|
Dear all,
We had a problem that is
Method 'get_Logger' in type 'Xbim.Geometry.XbimGeometryCreator' from assembly 'Xbim.Geometry.Engine64, Version=0.0.0.0, Culture=neutral, PublicKeyToken=11e3655e576ec5a9' does not have an implementation
The solution you provided here are related to assembly loading of Xbim.Geometry.Engine64.
Why there get_logger Error,
Please let me know any solution
|
Please, use the package manager to keep the right version dependencies of all packages and dlls. |
This is a duplicate of xBimTeam/XbimWebUI#244 |
Hi ,
Could you please suggests some sample or blog for convert IFC to WEXBIM using C#
Else samples which used Xbim.Geometry.Engine64.dll (64 bit dll) , because we are facing below issue even though if we’re created from new project
Method 'get_Logger' in type 'Xbim.Geometry.XbimGeometryCreator' from assembly 'Xbim.Geometry.Engine64, Version=0.0.0.0, Culture=neutral, PublicKeyToken=11e3655e576ec5a9' does not have an implementation
|
Okay fine. These coding are we developed and facing issues,
Do you know any other method to convert IFC to WEXBIM except below
http://docs.xbim.net/examples/creating-wexbim-file.html
|
Any source code for IFC to WEXBIM conversion?
Best Regards,
Castro Nelson D
Software Engineer
Email: <mailto:[email protected]> [email protected] | Voice: +91-422-711 5566, +91 93632-20483 | Ext. 508
<http://www.greenestbuilding.com/>
WORLD'S SECOND HIGHEST RANKING GREEN BUILDING
rated by GBCI under LEED NC v2009
<https://www.greenestbuilding.com/efacility-building-walkthrough-worlds-second-greenest-building/>
From: Castro Nelson D, SIERRA [mailto:[email protected]]
Sent: 12 September 2019 12:04
To: 'xBimTeam/XbimGeometry' <[email protected]>; 'xBimTeam/XbimGeometry' <[email protected]>
Cc: 'Author' <[email protected]>
Subject: RE: [xBimTeam/XbimGeometry] Please help to could not load file or assembly Xbim.Geometry.Engine64 or one of its dependencies (#215)
Okay fine. These coding are we developed and facing issues,
Do you know any other method to convert IFC to WEXBIM except below
http://docs.xbim.net/examples/creating-wexbim-file.html
|
Dear all,
Could you check if we share our coding and dll using in project to converting IFC to WEXBIM only
Best Regards,
Castro Nelson D
Software Engineer
Email: <mailto:[email protected]> [email protected] | Voice: +91-422-711 5566, +91 93632-20483 | Ext. 508
<http://www.greenestbuilding.com/>
WORLD'S SECOND HIGHEST RANKING GREEN BUILDING
rated by GBCI under LEED NC v2009
<https://www.greenestbuilding.com/efacility-building-walkthrough-worlds-second-greenest-building/>
From: Martin Černý [mailto:[email protected]]
Sent: 12 September 2019 11:49
To: xBimTeam/XbimGeometry <[email protected]>
Cc: castronelson <[email protected]>; Author <[email protected]>
Subject: Re: [xBimTeam/XbimGeometry] Please help to could not load file or assembly Xbim.Geometry.Engine64 or one of its dependencies (#215)
http://docs.xbim.net/examples/creating-wexbim-file.html
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#215?email_source=notifications&email_token=AMUVKXCLOAA5OLK7GLUXTYLQJHNLTA5CNFSM4IVKAADKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6QZFJY#issuecomment-530682535> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AMUVKXGAVS75WOFMOCTEJS3QJHNLTANCNFSM4IVKAADA> .
|
Dear all,
Could you please verify my screenshot, this contains only conversion coding (IFC to WEXBIM) and dll.
I have create new project and added webform with conversion codes.
Then We added dll from nuget packages (Xbim.geometry) only.
Even though we facing same issues below
“Could not load file or assembly 'Xbim.Geometry.Engine64' or one of its dependencies. An attempt was made to load a program with an incorrect format.”
Please suggests to overcome the issue why it happens
Thanks in advance.
Best Regards,
Castro Nelson D
Software Engineer
Email: <mailto:[email protected]> [email protected] | Voice: +91-422-711 5566, +91 93632-20483 | Ext. 508
<http://www.greenestbuilding.com/>
WORLD'S SECOND HIGHEST RANKING GREEN BUILDING
rated by GBCI under LEED NC v2009
<https://www.greenestbuilding.com/efacility-building-walkthrough-worlds-second-greenest-building/>
From: Martin Černý [mailto:[email protected]]
Sent: 12 September 2019 11:49
To: xBimTeam/XbimGeometry <[email protected]>
Cc: castronelson <[email protected]>; Author <[email protected]>
Subject: Re: [xBimTeam/XbimGeometry] Please help to could not load file or assembly Xbim.Geometry.Engine64 or one of its dependencies (#215)
http://docs.xbim.net/examples/creating-wexbim-file.html
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#215?email_source=notifications&email_token=AMUVKXCLOAA5OLK7GLUXTYLQJHNLTA5CNFSM4IVKAADKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6QZFJY#issuecomment-530682535> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AMUVKXGAVS75WOFMOCTEJS3QJHNLTANCNFSM4IVKAADA> .
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
using Xbim.Ifc;
using Xbim.ModelGeometry.Scene;
namespace WebApplication1
{
public partial class WebForm1 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
public void ConvertIFCtoWEXBIM(string filePath)
{
var IfcTestFile = filePath;
//using (var model = IfcStore.Open(Server.MapPath(@"SampleHouse.ifc")))
using (var model = IfcStore.Open(IfcTestFile))
{
var context = new Xbim3DModelContext(model);
context.CreateContext();
var wexBimFilename = Path.ChangeExtension(IfcTestFile, "wexbim");
using (var wexBiMfile = File.Create(wexBimFilename))
{
using (var wexBimBinaryWriter = new BinaryWriter(wexBiMfile))
{
model.SaveAsWexBim(wexBimBinaryWriter);
wexBimBinaryWriter.Close();
}
wexBiMfile.Close();
}
}
}
protected void btn_Click(object sender, EventArgs e)
{
string ConversionPath = Server.MapPath("~/ConversionFiles/") + Path.GetFileName(FileUploadIFC.PostedFile.FileName);
FileUploadIFC.SaveAs(ConversionPath);
ConvertIFCtoWEXBIM(ConversionPath);
}
}
}
|
Sorry, it's really hard to follow all these emails chains in Github. Can we ask you to use the Github interface for replies so we can:
If I may say, I think some of your issue may be better resolved in Stack Overflow as they sounds like basic debugging & problem-solving issues rather than a problem with XBIM Geometry. Responding to the points
|
i was added the 64 bit ddl in bin folder |
OK. I know what that is. Our Geometry.Engine.Interop nuget package is deploying both 32bit & 64 bit to the bin during the build. I'll see about a proper fix in #216 If you can post-process the build you should be able to remove the un-needed DLLs. |
I've updated an sample app that should demonstrate the basics, using the latest code: https://github.com/andyward/XbimWebDemo I've added a small msbuild hack for the native DLLSs This won't be necessary in the long-run. Note: as I mention in the code, I'd not really recommend doing IFC-> Geometry synchronously in a web app. It's not a robust architecture for processing large models in this way |
we cannot be open that file after downloaded, everything is unloaded |
ok now opened. |
when i run this below error will create Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="XbimDemoWebApp.MvcApplication" Language="C#" %> here not clarity on this solution :) |
may i know that your provided link is now working solution? or ) |
Why are you not using Nuget to get xbim binaries? It looks like you're referencing them from some local folder. I can't stress enough how much simpler it is to get the packages from nuget (or myget). We can't really help you when you manage dependencies in a way that give us no repeatable way of building your code. You're also referencing net45. The latest 5.x version of xbim requires net47. My example should just work. Have you got ASP.NET MVC installed? What version of Visual Studio are you using? |
visual studio version 14.0 |
yes we have ASP.NET MVC installed. |
sql server 2012 is required? |
The file yesterday sent to you which has the dll from another referenced project because when installed Xbim.Geometry from nuget both 32 and 64 bit dll created together,so avoid such thing i referenced from another project which is also installed directly from nuget package manager(Xbim.Geometry) |
Can you take this over to https://github.com/andyward/XbimWebDemo/issues |
See solution in #312, you may interest. |
Expected behavior:
Actual behavior or exception details:
Version of the xBIM Viewer:
Minimal code (or steps) to reproduce the issue:
Minimal file to reproduce the issue:
(IFC files need to be zipped to be uploaded. Than just drag & drop here)
The text was updated successfully, but these errors were encountered: