<?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: Unable to load System.Text.Json.dll 9.0.0.0+ (and/or dependencies) in 2025+ in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13865507#M85968</link>
    <description>&lt;P&gt;IMO, for Acad2025 and later, since it uses .NET Core (.NET 8 for now), thins have changed from from .NET Framework, which must be installed in the computer as WHOLE package (i.e. all, or nothing), while for .NET Core, application would only requires minimum .NET Core packages, and different applications can have different versions of .NET Core (.NET 5/6/7/8/9/10) and the .NET Core packages that go with the custom application would form a kind of self-contained application package, which would not be impact by other .NET Core applications which may use the same .NET Core components of the same or different versions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AutoCAD 2025/2026 is considered being this kind of .NET Core application, which built on .NET 8.&amp;nbsp; So, in general, you should use .NET 8 (or older) packages. I assume that using .NET 9 may work in certain cases, but most likely, it will not, as your case.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, some .NET 8 packages used by AutoCAD already exist in AutoCAD installation, and likely being loaded into AutoCAD (on startup, or on-demand). If you add the package with Nuget to your project, you may want to to set Copy Local to false, or you can set reference to the one in AutoCAD install folder. Again, this could be quite complicated, depending on which .NET 8 components AutoCAD uses and for what purpose (i.e. if/when it gets loaded).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your case, I would use System.Text.Json.dll 8.0.xx.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Oct 2025 14:17:37 GMT</pubDate>
    <dc:creator>Norman_Yuan</dc:creator>
    <dc:date>2025-10-24T14:17:37Z</dc:date>
    <item>
      <title>Unable to load System.Text.Json.dll 9.0.0.0+ (and/or dependencies) in 2025+</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13864259#M85961</link>
      <description>&lt;P&gt;Our .NET plugin has a hard dependency on the .dll mentioned in the title. It gives a very not-helpful exception when trying to load it. We can maybe get away with loading an older version, but that could mean missing methods etc. to deal with.&lt;/P&gt;&lt;P&gt;Directly loading using NETLOAD also gives the exception (see below).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;We are looking for suggestions/ideas to load the assembly (and dependencies) regardless.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Command: NETLOAD
Cannot load assembly. Error details: System.IO.FileLoadException: Could not load file or assembly 'System.Text.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
   at System.Runtime.Loader.AssemblyLoadContext.&amp;lt;LoadFromPath&amp;gt;g____PInvoke|5_0(IntPtr __ptrNativeAssemblyBinder_native, UInt16* __ilPath_native, UInt16* __niPath_native, ObjectHandleOnStack __retAssembly_native)
   at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
   at System.Reflection.Assembly.LoadFrom(String assemblyFile)
   at Autodesk.AutoCAD.Runtime.ExtensionLoader.Load(String fileName)
   at Autodesk.AutoCAD.ApplicationServices.ExtensionLoader.Load(String fileName)
   at loadmgd()&lt;/LI-CODE&gt;&lt;P&gt;This seems to be isolated to the AutoCAD .NET environment. Directly loading the assembly in the same .NET8 environment (".NET 8.0.21") outside of AutoCAD works perfectly fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Older versions of AutoCAD also load the assembly&amp;nbsp;(the .NET framework version of course!) fine,&amp;nbsp;as in no meaningless exception .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have tried a custom/isolated AssemblyLoadContext, doesn't improve the issue.&lt;/P&gt;&lt;P&gt;We can't use IPC, this&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;is&lt;/STRONG&gt;&lt;/EM&gt; the IPC we want to use.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 16:46:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13864259#M85961</guid>
      <dc:creator>r.van.der.pijl</dc:creator>
      <dc:date>2025-10-23T16:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load System.Text.Json.dll 9.0.0.0+ (and/or dependencies) in 2025+</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13865507#M85968</link>
      <description>&lt;P&gt;IMO, for Acad2025 and later, since it uses .NET Core (.NET 8 for now), thins have changed from from .NET Framework, which must be installed in the computer as WHOLE package (i.e. all, or nothing), while for .NET Core, application would only requires minimum .NET Core packages, and different applications can have different versions of .NET Core (.NET 5/6/7/8/9/10) and the .NET Core packages that go with the custom application would form a kind of self-contained application package, which would not be impact by other .NET Core applications which may use the same .NET Core components of the same or different versions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AutoCAD 2025/2026 is considered being this kind of .NET Core application, which built on .NET 8.&amp;nbsp; So, in general, you should use .NET 8 (or older) packages. I assume that using .NET 9 may work in certain cases, but most likely, it will not, as your case.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, some .NET 8 packages used by AutoCAD already exist in AutoCAD installation, and likely being loaded into AutoCAD (on startup, or on-demand). If you add the package with Nuget to your project, you may want to to set Copy Local to false, or you can set reference to the one in AutoCAD install folder. Again, this could be quite complicated, depending on which .NET 8 components AutoCAD uses and for what purpose (i.e. if/when it gets loaded).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your case, I would use System.Text.Json.dll 8.0.xx.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 14:17:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13865507#M85968</guid>
      <dc:creator>Norman_Yuan</dc:creator>
      <dc:date>2025-10-24T14:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load System.Text.Json.dll 9.0.0.0+ (and/or dependencies) in 2025+</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13865607#M85969</link>
      <description>&lt;P&gt;You should always match the major version with .NET Core version, in the AutoCAD 2025/2026 that is .NET Core 8 you should prefer to use&amp;nbsp;&lt;STRONG&gt;System.Text.Json&lt;/STRONG&gt; version &lt;STRONG&gt;8.*,&amp;nbsp;&lt;/STRONG&gt;specially because the package/assembly is already part of the&amp;nbsp;&lt;STRONG&gt;Microsoft.NETCore.App.Ref. -&amp;gt;&amp;nbsp;C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.20\ref\net8.0\System.Text.Json.dll&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9879980"&gt;@r.van.der.pijl&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;We can't use IPC, this&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;is&lt;/STRONG&gt;&lt;/EM&gt; the IPC we want to use.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Are you using some public IPC package that uses&amp;nbsp;&lt;STRONG&gt;System.Text.Json,&amp;nbsp;&lt;/STRONG&gt;can you share?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recreate&amp;nbsp;&lt;STRONG&gt;NamedPipeWrapper&lt;/STRONG&gt; using JSON to use in my &lt;STRONG&gt;RevitTest&lt;/STRONG&gt; project.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://github.com/ricaun-io/named-pipe-wrapper-json" target="_blank"&gt;https://github.com/ricaun-io/named-pipe-wrapper-json&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://github.com/ricaun-io/ricaun.RevitTest" target="_blank"&gt;https://github.com/ricaun-io/ricaun.RevitTest&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I design in a way to force to use the &lt;STRONG&gt;Newtonsoft.Json&lt;/STRONG&gt;&amp;nbsp;if the package is loaded inside the domain, if not gonna use standard JSON Serialize/Deserialize, the&amp;nbsp;&lt;STRONG&gt;System.Web.Script.Serialization&lt;/STRONG&gt; for &lt;STRONG&gt;.NET Framework&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;System.Text.Json&lt;/STRONG&gt;&amp;nbsp;for&amp;nbsp;&lt;STRONG&gt;.NET Core.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should work fine inside AutoCAD, kinda thinking to create AutoCADTest project &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 15:26:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13865607#M85969</guid>
      <dc:creator>ricaun</dc:creator>
      <dc:date>2025-10-24T15:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load System.Text.Json.dll 9.0.0.0+ (and/or dependencies) in 2025+</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13866077#M85970</link>
      <description>&lt;P&gt;This usually happens when AutoCAD uses the same assembly, but not the same version of it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One way to find out what version AutoCAD is using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Download and install a copy of &lt;A href="https://systeminformer.sourceforge.io/" target="_blank" rel="noopener"&gt;System Informer&lt;/A&gt; (FKA, Process Hacker).&lt;/LI&gt;&lt;LI&gt;Start AutoCAD.&lt;/LI&gt;&lt;LI&gt;Start System Informer.&lt;/LI&gt;&lt;LI&gt;In System Informer, locate acad.exe in the process list and double-click on it.&lt;/LI&gt;&lt;LI&gt;In the dialog that comes up, click on the .'NET Assemblies' tab.&lt;/LI&gt;&lt;LI&gt;Scroll down to and locate System.Text.Json.dll and double-click it, and You will see the version number in the dialog that appears.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;On the Net Assemblies tab, you'll see the location of the assembly:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ActivistInvestor_0-1761339944310.png" style="width: 724px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1581901iA7DC7FF98E489D96/image-dimensions/724x375?v=v2" width="724" height="375" role="button" title="ActivistInvestor_0-1761339944310.png" alt="ActivistInvestor_0-1761339944310.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;We have tried a custom/isolated AssemblyLoadContext, doesn't improve the issue.&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An Isolated ALC should work, but if your managed extension is dependent on other assemblies&lt;/P&gt;&lt;P&gt;that are in-turn dependent on System.Text.Json.dll, then it becomes a bit more complicated, and&lt;/P&gt;&lt;P&gt;requires handling assembly resolution. You don't mention what specifically did not work when&lt;/P&gt;&lt;P&gt;you tried using a custom ALC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 21:53:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13866077#M85970</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2025-10-24T21:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load System.Text.Json.dll 9.0.0.0+ (and/or dependencies) in 2025+</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13866138#M85971</link>
      <description>&lt;P&gt;Very good tip of using System Informer. Thank you,&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4476837"&gt;@ActivistInvestor&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 22:09:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13866138#M85971</guid>
      <dc:creator>Norman_Yuan</dc:creator>
      <dc:date>2025-10-24T22:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load System.Text.Json.dll 9.0.0.0+ (and/or dependencies) in 2025+</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13866582#M85972</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9879980"&gt;@r.van.der.pijl&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Our .NET plugin has a hard dependency on the .dll mentioned in the title. It gives a very not-helpful exception when trying to load it.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9879980"&gt;@r.van.der.pijl&lt;/a&gt;&amp;nbsp;- at least you got an exception, it could be worse - you could have been able to build &amp;amp; load without any exceptions only to find out that it only works for those with the newer dependency version installed.&amp;nbsp;I had to learn the hard way, by sharing a 'working' app, that those without NuGet, etc cannot run it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/net-forum/net-8-migration-system-drawing-common-error/td-p/13811252" target="_blank"&gt;https://forums.autodesk.com/t5/net-forum/net-8-migration-system-drawing-common-error/td-p/13811252&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4176855"&gt;@ricaun&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;You should always match the major version with .NET Core version, in the AutoCAD 2025/2026 that is .NET Core 8&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Also, thanks for sharing that advice,&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4476837"&gt;@ActivistInvestor&lt;/a&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Oct 2025 13:31:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13866582#M85972</guid>
      <dc:creator>BlackBox_</dc:creator>
      <dc:date>2025-10-25T13:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load System.Text.Json.dll 9.0.0.0+ (and/or dependencies) in 2025+</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13868157#M85977</link>
      <description>&lt;P&gt;The assembly is, despite what the version suggests, a .NET8 assembly. I have mentioned this in the original post. Even .NET framework has a 9.0.0.0 version of the assembly, which loads fine in AutoCAD 2024&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2025 11:42:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13868157#M85977</guid>
      <dc:creator>r.van.der.pijl</dc:creator>
      <dc:date>2025-10-27T11:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load System.Text.Json.dll 9.0.0.0+ (and/or dependencies) in 2025+</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13868180#M85978</link>
      <description>&lt;P&gt;The assembly is .NET8, but its version is simply newer than the only loaded into AutoCAD2025 by default. That should work fine, as .NET can load multiple assembly versions and their dependencies simultaneously. Especially when using an AssemblyLoadContext. It loads in a standalone .NET executable using the same .NET environment, so it seems to be some loading error caused by AutoCAD itself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The IPC we use is&amp;nbsp;&lt;A href="https://github.com/tylerjensen/ServiceWire" target="_blank" rel="noopener"&gt;ServiceWire&lt;/A&gt;&amp;nbsp;whose NuGet package defines a minimum version of 9.0.0.0. We use this package in multiple places of our software without issue.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2025 11:50:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13868180#M85978</guid>
      <dc:creator>r.van.der.pijl</dc:creator>
      <dc:date>2025-10-27T11:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load System.Text.Json.dll 9.0.0.0+ (and/or dependencies) in 2025+</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13868183#M85979</link>
      <description>&lt;P&gt;The version AutoCAD uses is older. We can apply custom assembly loading and simply force the older, already loaded assembly to be returned instead. We mentioned this in the original post as potential solution, but find it very hacky.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That tool is very nice, thanks for suggesting!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When attempting to load the assembly (or one of its few dependencies) in a custom ALC, the exception is exactly the same.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2025 11:53:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13868183#M85979</guid>
      <dc:creator>r.van.der.pijl</dc:creator>
      <dc:date>2025-10-27T11:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load System.Text.Json.dll 9.0.0.0+ (and/or dependencies) in 2025+</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13868434#M85983</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9879980"&gt;@r.van.der.pijl&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;The assembly is .NET8, but its version is simply newer than the only loaded into AutoCAD2025 by default. That should work fine, as .NET can load multiple assembly versions and their dependencies simultaneously. Especially when using an AssemblyLoadContext. It loads in a standalone .NET executable using the same .NET environment, so it seems to be some loading error caused by AutoCAD itself.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;By default an .NET Core application gonna load all the assembly in the &lt;STRONG&gt;default&amp;nbsp;&lt;/STRONG&gt;AssemblyLoadContext, and I believe AutoCAD does not create a&amp;nbsp;AssemblyLoadContext for your AutoCAD Addin. So in that case if AutoCAD already have the&amp;nbsp;&lt;STRONG&gt;System.Text.Json&lt;/STRONG&gt; version 8.* loaded and your Addin uses version 9.* a classic dependencies conflict could happen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9879980"&gt;@r.van.der.pijl&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;The IPC we use is&amp;nbsp;&lt;A href="https://github.com/tylerjensen/ServiceWire" target="_blank" rel="noopener"&gt;ServiceWire&lt;/A&gt;&amp;nbsp;whose NuGet package defines a minimum version of 9.0.0.0. We use this package in multiple places of our software without issue.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You could try to use&amp;nbsp;&lt;A href="https://www.nuget.org/packages/ServiceWire/5.5.4#dependencies-body-tab" target="_blank" rel="noopener"&gt;ServiceWire Version 5.5.4&lt;/A&gt;&amp;nbsp;that uses a older version of the&amp;nbsp;&lt;STRONG&gt;System.Text.Json&amp;nbsp;&lt;/STRONG&gt;just to test if your AutoCAD Addin works.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2025 14:35:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13868434#M85983</guid>
      <dc:creator>ricaun</dc:creator>
      <dc:date>2025-10-27T14:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load System.Text.Json.dll 9.0.0.0+ (and/or dependencies) in 2025+</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13868706#M85984</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9879980"&gt;@r.van.der.pijl&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When attempting to load the assembly (or one of its few dependencies) in a custom ALC, the exception is exactly the same.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This is most-likely because your AutoCAD extension is being loaded into the default ALC rather than the custom, isolated one you are creating.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My suggestion is to divide your extension into two parts. The first assembly (let's call it the 'loader') is what AutoCAD loads into the default ALC. That assembly contains no dependence on ServiceWire. Then you create a second assembly that has the dependence on ServiceWire (call this the 'ServiceWireClient'). Then, when AutoCAD loads the 'loader' assembly, it creates the isolated ALC and loads your ServiceWireClient, ServiceWire, and System.Text.Json v9.0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I goated ChatGPT into sketching this out, because I don't have the time to do that. You can have a look at &lt;A href="https://chatgpt.com/share/68ffa678-b0ac-8008-97ce-53eb9c29f222" target="_blank" rel="noopener"&gt;this conversation&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2025 17:08:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13868706#M85984</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2025-10-27T17:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load System.Text.Json.dll 9.0.0.0+ (and/or dependencies) in 2025+</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13869261#M85985</link>
      <description>&lt;P&gt;Tony, Thanks for your excellent reply.&lt;BR /&gt;It's a pleasure to see 2 such well crafted ChatGPT prompts and the resulting response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Live long and prosper,&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 05:26:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13869261#M85985</guid>
      <dc:creator>kerry_w_brown</dc:creator>
      <dc:date>2025-10-28T05:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load System.Text.Json.dll 9.0.0.0+ (and/or dependencies) in 2025+</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13871516#M85994</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9879980"&gt;@r.van.der.pijl&lt;/a&gt;&amp;nbsp;Try removing all system assemblies from the folder where you plugin dlls are located.&amp;nbsp; If they're in that folder, it'll attempt to use them instead of the assemblies within .NET Framework.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once removed, try loading your plugin with&amp;nbsp;&lt;STRONG&gt;netload&lt;/STRONG&gt; again&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i.e. Remove these types of assemblies...&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DarinGreen_0-1761735125020.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1583047i4158DB9789E66432/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DarinGreen_0-1761735125020.png" alt="DarinGreen_0-1761735125020.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2025 10:53:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/13871516#M85994</guid>
      <dc:creator>Darin.Green</dc:creator>
      <dc:date>2025-10-29T10:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load System.Text.Json.dll 9.0.0.0+ (and/or dependencies) in 2025+</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/14013116#M86539</link>
      <description>&lt;P&gt;I do think that the real solution can only happens on AutoCAD side, I've opened up a ticket, so please consider giving it an upvote&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/civil-3d-ideas/support-different-assemblyloadcontext-internally-within-autocad/idc-p/14011986" target="_blank"&gt;https://forums.autodesk.com/t5/civil-3d-ideas/support-different-assemblyloadcontext-internally-within-autocad/idc-p/14011986&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's in Civil 3D ideas beacuse AutoCAD doesn't have a similar ideas forum.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 03:08:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-load-system-text-json-dll-9-0-0-0-and-or-dependencies/m-p/14013116#M86539</guid>
      <dc:creator>soonhui</dc:creator>
      <dc:date>2026-02-11T03:08:01Z</dc:date>
    </item>
  </channel>
</rss>

