<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: AutoCAD from an external .NET application: System.IO.FileNotFoundException in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12270589#M43333</link>
    <description>&lt;P&gt;Thanks for your reply. I agree with you completely. However, for this use case nothing else worked for me, and no one replied with a better solution yet.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Sep 2023 15:57:01 GMT</pubDate>
    <dc:creator>mahmoudabdelmoneam</dc:creator>
    <dc:date>2023-09-27T15:57:01Z</dc:date>
    <item>
      <title>AutoCAD from an external .NET application: System.IO.FileNotFoundException</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/5152576#M43324</link>
      <description>&lt;P&gt;I ran the LoadableComponent project (Mentioned &lt;A target="_self" href="http://through-the-interface.typepad.com/through_the_interface/2009/05/interfacing-an-external-com-application-with-a-net-module-in-process-to-autocad-redux.html"&gt;here &lt;/A&gt;by &lt;SPAN class="author"&gt;Kean Walmsley&lt;/SPAN&gt;) 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:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;System.IO.FileNotFoundException: Problem in loading application&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;at Autodesk.AutoCAD.Interop.IAcadApplication.GetInterfaceObject(String ProgID)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did everything Kean said (RegAsm and everything) but nothing works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Machine: Windows 7 x64, AutoCAD 2014, Visual Studio 2010&lt;/P&gt;&lt;P&gt;Other Machines:&amp;nbsp;&lt;SPAN&gt;Windows 7 x64, AutoCAD 2014&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Things I tried:&lt;BR /&gt;Registry Permissions&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Files UnBlock - To make sure they are not blocked by any program&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Tried on Several Other Machines without Building in Visual Studio&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Things I tried and Worked:&lt;BR /&gt;Installed Visual Studio on the other Machines, Built the Project, after several trials got it to work&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to deploy the Application, so I don't want to build the code on other Machines.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help would be Appreciated.&lt;BR /&gt;Please Help&amp;nbsp;&lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://forums.autodesk.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2014 11:12:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/5152576#M43324</guid>
      <dc:creator>Mahmoud.Abdelmoneam</dc:creator>
      <dc:date>2014-07-15T11:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD from an external .NET application: System.IO.FileNotFoundException</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/5157963#M43325</link>
      <description>&lt;P&gt;Building the Application Inside AutoCAD Folder Solved it.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2014 12:20:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/5157963#M43325</guid>
      <dc:creator>Mahmoud.Abdelmoneam</dc:creator>
      <dc:date>2014-07-17T12:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD from an external .NET application: System.IO.FileNotFoundException</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12269493#M43326</link>
      <description>&lt;P&gt;Could you elaborate on what building t&lt;SPAN&gt;he Application Inside AutoCAD Folder means and how to do it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am starting out with all of this! I appreciate any help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 09:17:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12269493#M43326</guid>
      <dc:creator>i_bherer</dc:creator>
      <dc:date>2023-09-27T09:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD from an external .NET application: System.IO.FileNotFoundException</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12269547#M43327</link>
      <description>&lt;P&gt;As I remember, you set the build location inside the installation folder of Autocad.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 09:32:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12269547#M43327</guid>
      <dc:creator>mahmoudabdelmoneam</dc:creator>
      <dc:date>2023-09-27T09:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD from an external .NET application: System.IO.FileNotFoundException</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12269564#M43328</link>
      <description>&lt;P&gt;Are you referring to the output path located in the build tab of project properties? Also, are you referring to .exe build path or the .dll build path?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 09:40:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12269564#M43328</guid>
      <dc:creator>i_bherer</dc:creator>
      <dc:date>2023-09-27T09:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD from an external .NET application: System.IO.FileNotFoundException</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12269567#M43329</link>
      <description>&lt;P&gt;The .dll yes, it needs several referances to build correctly, that's why u need to build into the installation folder.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 09:42:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12269567#M43329</guid>
      <dc:creator>mahmoudabdelmoneam</dc:creator>
      <dc:date>2023-09-27T09:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD from an external .NET application: System.IO.FileNotFoundException</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12269583#M43330</link>
      <description>&lt;P&gt;Hmm, this does not seem to work for me, when I try to build the solution, an error says access to the installation folder is denied!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 09:49:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12269583#M43330</guid>
      <dc:creator>i_bherer</dc:creator>
      <dc:date>2023-09-27T09:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD from an external .NET application: System.IO.FileNotFoundException</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12269612#M43331</link>
      <description>&lt;P&gt;Try to run visual studio as administrator.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 10:00:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12269612#M43331</guid>
      <dc:creator>mahmoudabdelmoneam</dc:creator>
      <dc:date>2023-09-27T10:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD from an external .NET application: System.IO.FileNotFoundException</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12270501#M43332</link>
      <description>&lt;P&gt;I don't recommend building your app into any folder belonging to another app. If the app is updated or removed, you will lose part of your project. Also, the reason you have file access issues is that you are trying to write to areas of the C:\ drive that are protected, e.g. Program Filies. Running as Administrator bypasses Windows security. You can follow the steps in &lt;A href="https://forums.autodesk.com/t5/net/tutorial-how-to-create-a-visual-studio-template/td-p/11298492" target="_blank" rel="noopener"&gt;this tutorial&lt;/A&gt; on how to set up a new project. The tutorial is about creating a VS template, but the template is used to set up a new project. At the end are some tips for debugging the project.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 15:20:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12270501#M43332</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2023-09-27T15:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD from an external .NET application: System.IO.FileNotFoundException</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12270589#M43333</link>
      <description>&lt;P&gt;Thanks for your reply. I agree with you completely. However, for this use case nothing else worked for me, and no one replied with a better solution yet.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 15:57:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12270589#M43333</guid>
      <dc:creator>mahmoudabdelmoneam</dc:creator>
      <dc:date>2023-09-27T15:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD from an external .NET application: System.IO.FileNotFoundException</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12270675#M43334</link>
      <description>&lt;P&gt;Looking back at your first post, if ran regasm on your pc, and then you just copy the exe/dll to another pc, wouldn't you need to run regasm on the other pc too?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 16:31:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12270675#M43334</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2023-09-27T16:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD from an external .NET application: System.IO.FileNotFoundException</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12270695#M43335</link>
      <description>&lt;P&gt;I've worked on this project a long time ago, if I remember correctly, I think I used the installation itself to do this on users' machines.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 16:40:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12270695#M43335</guid>
      <dc:creator>mahmoudabdelmoneam</dc:creator>
      <dc:date>2023-09-27T16:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD from an external .NET application: System.IO.FileNotFoundException</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12272059#M43336</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;Even after building in the project in AutoCAD directory, it does not work for me. I guess I didn't follow the step correctly. I think I will resort to utilizing the ActiveX interop object model to get internal data from AutoCAD to my .exe application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you guys for your help.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 08:15:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12272059#M43336</guid>
      <dc:creator>i_bherer</dc:creator>
      <dc:date>2023-09-28T08:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD from an external .NET application: System.IO.FileNotFoundException</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12272908#M43337</link>
      <description>Maybe something was missed along the way, good luck with your implementation.</description>
      <pubDate>Thu, 28 Sep 2023 15:31:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-from-an-external-net-application-system-io/m-p/12272908#M43337</guid>
      <dc:creator>mahmoudabdelmoneam</dc:creator>
      <dc:date>2023-09-28T15:31:36Z</dc:date>
    </item>
  </channel>
</rss>

