.NET

Reply
Member
MASKiAN
Posts: 5
Registered: ‎11-19-2010
Message 1 of 2 (151 Views)
Accepted Solution

AutoCAD from an external .NET application: System.IO.FileNotFoundException

151 Views, 1 Replies
07-15-2014 04:12 AM

I ran the LoadableComponent project (Mentioned here by Kean Walmsley) in my machine successfully After Building with Visual Studio. Whenever I try to run it on another machine (Without Building with Visual Studio) I get this Exception:

 

 

System.IO.FileNotFoundException: Problem in loading application

at Autodesk.AutoCAD.Interop.IAcadApplication.GetInterfaceObject(String ProgID)

 

 

I did everything Kean said (RegAsm and everything) but nothing works.

 

My Machine: Windows 7 x64, AutoCAD 2014, Visual Studio 2010

Other Machines: Windows 7 x64, AutoCAD 2014

 

Things I tried:
Registry Permissions

Files UnBlock - To make sure they are not blocked by any program

Tried on Several Other Machines without Building in Visual Studio

 

Things I tried and Worked:
Installed Visual Studio on the other Machines, Built the Project, after several trials got it to work

 

I want to deploy the Application, so I don't want to build the code on other Machines.

 

Any help would be Appreciated.
Please Help :smileysad:

Building the Application Inside AutoCAD Folder Solved it.

Member
MASKiAN
Posts: 5
Registered: ‎11-19-2010
Message 2 of 2 (78 Views)

Re: AutoCAD from an external .NET application: System.IO.FileNotFoundException

07-17-2014 05:20 AM in reply to: MASKiAN

Building the Application Inside AutoCAD Folder Solved it.

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.