<?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 Assembly not loading properly in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/assembly-not-loading-properly/m-p/12440583#M6242</link>
    <description>&lt;P&gt;I am loading an assembly using Assembly.LoadFrom(etc...).&lt;/P&gt;&lt;P&gt;The assembly is loading seemingly fine, I don't receive any errors, but the code in the public void Initialize() never runs!&lt;/P&gt;&lt;P&gt;And the commands defined in the assembly do not become available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help, I don't know how to debug such a situation. The loading of assembly worked before, but then just stopped working. It also works on another computer. So it is a local problem on this machine. I did a clean reinstall of windows 11 just recently.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Dec 2023 08:28:03 GMT</pubDate>
    <dc:creator>MGO-Norsyn</dc:creator>
    <dc:date>2023-12-14T08:28:03Z</dc:date>
    <item>
      <title>Assembly not loading properly</title>
      <link>https://forums.autodesk.com/t5/net-forum/assembly-not-loading-properly/m-p/12440583#M6242</link>
      <description>&lt;P&gt;I am loading an assembly using Assembly.LoadFrom(etc...).&lt;/P&gt;&lt;P&gt;The assembly is loading seemingly fine, I don't receive any errors, but the code in the public void Initialize() never runs!&lt;/P&gt;&lt;P&gt;And the commands defined in the assembly do not become available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help, I don't know how to debug such a situation. The loading of assembly worked before, but then just stopped working. It also works on another computer. So it is a local problem on this machine. I did a clean reinstall of windows 11 just recently.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 08:28:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/assembly-not-loading-properly/m-p/12440583#M6242</guid>
      <dc:creator>MGO-Norsyn</dc:creator>
      <dc:date>2023-12-14T08:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Assembly not loading properly</title>
      <link>https://forums.autodesk.com/t5/net-forum/assembly-not-loading-properly/m-p/12441842#M6243</link>
      <description>&lt;P&gt;In the past I did run into issues with Assemly.Load()/LoadFrom(), but could not recall the details by now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might want to use Autodesk.AutoCAD.Runtime.ExtensionLoader.Load() to load DLLs, instead of Assembly.LoadXxx(). It is AutoCAD .NET API that wraps Assembly.LoadXxxx(), which may provide more robust way of loading .NET DLLs into AutoCAD process. Since this ExtensionLoader available (since Acad2013?), I only use this to dynamic load DLLs when needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 18:17:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/assembly-not-loading-properly/m-p/12441842#M6243</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2023-12-14T18:17:39Z</dc:date>
    </item>
  </channel>
</rss>

