<?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: C# Cannot Convert in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/c-cannot-convert/m-p/5979798#M37505</link>
    <description>&lt;P&gt;I think the point was de-compiling/disassembling somebody else's code without permission is at best frowned upon, and at worst legally actionable.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Jan 2016 15:58:41 GMT</pubDate>
    <dc:creator>dgorsman</dc:creator>
    <dc:date>2016-01-08T15:58:41Z</dc:date>
    <item>
      <title>C# Cannot Convert</title>
      <link>https://forums.autodesk.com/t5/net-forum/c-cannot-convert/m-p/5977242#M37497</link>
      <description>Hi everybody i'm coding in C#, and i referenced the : using Autodesk.AutoCAD.Interop; using Autodesk.AutoCAD.Interop.Common; But when i Run the code i get thoses errors in the attached image</description>
      <pubDate>Thu, 07 Jan 2016 10:26:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/c-cannot-convert/m-p/5977242#M37497</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-07T10:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: C# Cannot Convert</title>
      <link>https://forums.autodesk.com/t5/net-forum/c-cannot-convert/m-p/5977257#M37498</link>
      <description>Got these errors : Error 5 Argument 1: cannot convert from 'Autodesk.AutoCAD.Interop.AcadDocument [h:\CESBRON\Traceur\SmoothProgressBar.cs]' to 'Autodesk.AutoCAD.Interop.AcadDocument' H:\CESBRON\Traceur\Dessin.cs 53 52 Traceur Error 7 Argument 1: cannot convert from 'Autodesk.AutoCAD.Interop.AcadDocument [h:\CESBRON\Traceur\SmoothProgressBar.cs]' to 'Autodesk.AutoCAD.Interop.AcadDocument' H:\CESBRON\Traceur\Dessin.cs 123 52 Traceur Error 9 Argument 1: cannot convert from 'Autodesk.AutoCAD.Interop.AcadDocument [h:\CESBRON\Traceur\SmoothProgressBar.cs]' to 'Autodesk.AutoCAD.Interop.AcadDocument' H:\CESBRON\Traceur\Dessin.cs 170 52 Traceur Error 12 Argument 1: cannot convert from 'Autodesk.AutoCAD.Interop.AcadDocument [h:\CESBRON\Traceur\SmoothProgressBar.cs]' to 'Autodesk.AutoCAD.Interop.AcadDocument' H:\CESBRON\Traceur\Doc.cs 205 30 Traceur Error 3 Argument 1: cannot convert from 'ref Autodesk.AutoCAD.Interop.AcadSelectionSet [h:\CESBRON\Traceur\SmoothProgressBar.cs]' to 'ref Autodesk.AutoCAD.Interop.AcadSelectionSet' H:\CESBRON\Traceur\Automation.cs 42 43 Traceur Error 1 The best overloaded method match for 'DLLSelectionSet.SelectSelectionSet.SelectSSet(ref Autodesk.AutoCAD.Interop.AcadSelectionSet)' has some invalid arguments H:\CESBRON\Traceur\Automation.cs 42 9 Traceur Error 4 The best overloaded method match for 'GetPointCoord.GetPointCoord.GetPoint(Autodesk.AutoCAD.Interop.AcadDocument, ref object, ref object)' has some invalid arguments H:\CESBRON\Traceur\Dessin.cs 53 9 Traceur Error 6 The best overloaded method match for 'GetPointCoord.GetPointCoord.GetPoint(Autodesk.AutoCAD.Interop.AcadDocument, ref object, ref object)' has some invalid arguments H:\CESBRON\Traceur\Dessin.cs 123 9 Traceur Error 8 The best overloaded method match for 'GetPointCoord.GetPointCoord.GetPoint(Autodesk.AutoCAD.Interop.AcadDocument, ref object, ref object)' has some invalid arguments H:\CESBRON\Traceur\Dessin.cs 170 9 Traceur Error 11 The best overloaded method match for 'GetPointCoord.GetPointCoord.GetPoint(Autodesk.AutoCAD.Interop.AcadDocument, ref object, ref object)' has some invalid arguments H:\CESBRON\Traceur\Doc.cs 205 7 Traceur Error 10 The type 'Autodesk.AutoCAD.Interop.AcadDocument' is defined in an assembly that is not referenced. You must add a reference to assembly 'Autodesk.AutoCAD.Interop, Version=18.0.0.0, Culture=neutral, PublicKeyToken=eed84259d7cbf30b'. H:\CESBRON\Traceur\Doc.cs 201 7 Traceur Error 2 The type 'Autodesk.AutoCAD.Interop.AcadSelectionSet' is defined in an assembly that is not referenced. You must add a reference to assembly 'Autodesk.AutoCAD.Interop, Version=18.0.0.0, Culture=neutral, PublicKeyToken=eed84259d7cbf30b'. H:\CESBRON\Traceur\Automation.cs 42 9 Traceur This is my Github : &lt;A href="https://github.com/borisdagnon/CESBRON/tree/master/Traceur" target="_blank"&gt;https://github.com/borisdagnon/CESBRON/tree/master/Traceur&lt;/A&gt;</description>
      <pubDate>Thu, 07 Jan 2016 10:36:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/c-cannot-convert/m-p/5977257#M37498</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-07T10:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: C# Cannot Convert</title>
      <link>https://forums.autodesk.com/t5/net-forum/c-cannot-convert/m-p/5977353#M37499</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have to compile your project and all its home made dependant libraries against the same AutoCAD.Interop version libraries (i.e. the AutoCAD version you're targeting).&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2016 12:10:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/c-cannot-convert/m-p/5977353#M37499</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2016-01-07T12:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: C# Cannot Convert</title>
      <link>https://forums.autodesk.com/t5/net-forum/c-cannot-convert/m-p/5977874#M37500</link>
      <description>I'm targeting Autocad 2016 and i referenced all the dll of the 2016 version. But i'm still having a problem with Error 2 The type 'Autodesk.AutoCAD.Interop.AcadSelectionSet' is defined in an assembly that is not referenced. You must add a reference to assembly 'Autodesk.AutoCAD.Interop, Version=18.0.0.0, Culture=neutral, PublicKeyToken=eed84259d7cbf30b'. H:\CESBRON\Traceur\Automation.cs 42 9 Traceur I don't know what to change, when i replace by the Autocad 2010 assemblies it does work. A very confusing problem</description>
      <pubDate>Thu, 07 Jan 2016 16:15:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/c-cannot-convert/m-p/5977874#M37500</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-07T16:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: C# Cannot Convert</title>
      <link>https://forums.autodesk.com/t5/net-forum/c-cannot-convert/m-p/5978075#M37501</link>
      <description>&lt;P&gt;You may want to provide more details on not only what versio of AutoCAD you are targeting and what versio of AutoCAD you ARE USING for your developing/debugging.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To me, it looks like you are running older version of AutoCAD (older than AutoCAD 2016) in your debugging. That is why you cannot use new version of AutoCAD COM Interop assembly. Your developing/debugging AutoCAD cannot be&amp;nbsp;newer COM interop assembly. You should use the same version of Interop assembly as your running AutoCAD for your development. And yes, your application developed for the older version of AutoCAD would likely run OK with newer version of AutoCAD, as long as the CAD features used in your application are not broken by newer AutoCAD, which happens very rarely (but do happen from version to version occassionally, or intentionally).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Targeting multiple versions of AutoCAD is always risky, In general, your best bet&amp;nbsp;is to use the same version as the target version for your development.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2016 17:44:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/c-cannot-convert/m-p/5978075#M37501</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2016-01-07T17:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: C# Cannot Convert</title>
      <link>https://forums.autodesk.com/t5/net-forum/c-cannot-convert/m-p/5978208#M37502</link>
      <description>I found the solution &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; I have to decompile the GetPointCoord.dll and DLLSelectionset.dll with JetBrains or another decompiler and change the using Autodesk.AutoCAD.Interop; using Autodesk.AutoCAD.Interop.Common with the 2016 version dll and recompile GetPointCoord.dll and DLLSelectionset.dll. After that i went in my Traceur project and referenced the two dlls. Thank you About _gile &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; you were righ but i didn't understood at the moment.</description>
      <pubDate>Thu, 07 Jan 2016 18:56:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/c-cannot-convert/m-p/5978208#M37502</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-07T18:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: C# Cannot Convert</title>
      <link>https://forums.autodesk.com/t5/net-forum/c-cannot-convert/m-p/5978729#M37503</link>
      <description>&lt;DIV class="username_area"&gt;&lt;SPAN class=""&gt;&lt;A id="link_447c84009b9a1a" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3516893" target="_self"&gt;ferossenailles&lt;/A&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="username_area"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="username_area"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="username_area"&gt;&lt;SPAN class=""&gt;Who is the author of the&amp;nbsp;&lt;SPAN&gt;GetPointCoord.dll and&amp;nbsp;DLLSelectionset.dll that you decompiled ??&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="username_area"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="username_area"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="username_area"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="username_area"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="username_area"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Jan 2016 00:15:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/c-cannot-convert/m-p/5978729#M37503</guid>
      <dc:creator>kerry_w_brown</dc:creator>
      <dc:date>2016-01-08T00:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: C# Cannot Convert</title>
      <link>https://forums.autodesk.com/t5/net-forum/c-cannot-convert/m-p/5979034#M37504</link>
      <description>I don't realy now, when i search for, i dind't foud anyone. But according to what you're saying how do i have to compile the dlls without decompiling the dlls ?</description>
      <pubDate>Fri, 08 Jan 2016 07:43:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/c-cannot-convert/m-p/5979034#M37504</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-08T07:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: C# Cannot Convert</title>
      <link>https://forums.autodesk.com/t5/net-forum/c-cannot-convert/m-p/5979798#M37505</link>
      <description>&lt;P&gt;I think the point was de-compiling/disassembling somebody else's code without permission is at best frowned upon, and at worst legally actionable.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2016 15:58:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/c-cannot-convert/m-p/5979798#M37505</guid>
      <dc:creator>dgorsman</dc:creator>
      <dc:date>2016-01-08T15:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: C# Cannot Convert</title>
      <link>https://forums.autodesk.com/t5/net-forum/c-cannot-convert/m-p/5980362#M37506</link>
      <description>I'm part of a society and the dlls were developed by a worker of our organization don't mind everything is alright, i'm not a hacker guys :-D.</description>
      <pubDate>Fri, 08 Jan 2016 20:59:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/c-cannot-convert/m-p/5980362#M37506</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-08T20:59:40Z</dc:date>
    </item>
  </channel>
</rss>

