.NET

.NET

Reply
Member
5 Posts
1 Kudo
Registered: ‎11-19-2010
Post 1 of 2
Accepted Solution

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

189 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
5 Posts
1 Kudo
Registered: ‎11-19-2010
Post 2 of 2

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.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!