.NET
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Could not load file or assembly 'accoremgd .dll' or one of its dependenci es.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi All,
I want to create a silent acad process in background and do some works, it works well in AutoCAD 2012. But when I upgrade to AutoCAD 2013, it cannot works. I already had referenced accoremgd.dll. It compiles well, I get the errors "Could not load file or assembly 'accoremgd.dll' or one of its dependencies . The specified module could not be found." when I run my program. Who can tell me what dlls i lose to referenced.
Thanks,
Yu
Solved! Go to Solution.
Re: Could not load file or assembly 'accoremgd .dll' or one of its dependenci es.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
The following dlls had been referenced.
accoremgd
acdbmgd
acmgd
Autodesk.AutoCAD.Interop
Autodesk.AutoCAD.Interop.Common
Thanks,
Yu
Re: Could not load file or assembly 'accoremgd .dll' or one of its dependenci es.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
Is Copy Local set to false?
Gaston Nunez
Re: Could not load file or assembly 'accoremgd .dll' or one of its dependenci es.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
No matter the value is false or true. The issue is still reproducible.
Yu
Re: Could not load file or assembly 'accoremgd .dll' or one of its dependenci es.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Autodesk.AutoCAD.DatabaseServices.Database db = new Autodesk.AutoCAD.DatabaseServices.Database(false, true);
I only create a database object, there is a exception message "Could not load file or assembly 'accoremgd, Version=19.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified."
AutoCAD 2013 32-bit.
I have attached sample codes.
Re: Could not load file or assembly 'accoremgd .dll' or one of its dependenci es.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I add the following references
accoremgd
acdbmgd
acmgd
Autodesk.AutoCAD.Interop
Autodesk.AutoCAD.Interop.Common
Re: Could not load file or assembly 'accoremgd .dll' or one of its dependenci es.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Re: Could not load file or assembly 'accoremgd .dll' or one of its dependenci es.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Yes, I want to create standalone exe-file. And run AutoCAD 2013 in the background in the silent mode.
Yu
Re: Could not load file or assembly 'accoremgd .dll' or one of its dependenci es.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
yuh0317 wrote:
Yes, I want to create standalone exe-file. And run AutoCAD 2013 in the background in the silent mode.
Yu
It is impossible using acdbmgd.dll, acmgd.dll and accoremgd.dll in standalone exe-file.
Its can be using only in dll-file which loaded into AutoCAD.
So you can use:
Autodesk.AutoCAD.Interop
Autodesk.AutoCAD.Interop.Common
Re: Could not load file or assembly 'accoremgd .dll' or one of its dependenci es.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Actually I want to use some class in the acdbmgd.dll, acmgd.dll and accoremgd.dll in standalone exe-file. Do you know any other ways to use some class in the acdbmgd.dll, acmgd.dll and accoremgd.dll except load my dlls by AutoCAD.
YU





