Select to view content in your preferred language

Load ArcGIS Pro Add-Ins into their own AssemblyLoadContext

137
0
05-22-2024 01:18 PM
Status: Open
Labels (3)
KarlKemp
New Contributor II

In ArcGIS Pro 3, All Add-Ins (and Managed Configurations) appear to be loaded in the base .NET AssemblyLoadContext (AssemblyLoadContext.Default).  This means that all add-ins must use the same version of any other assemblies they reference.  This can cause crashes and other issues if two add ins require incompatible versions of the same assembly.

Add-Ins should each be loaded into their own AssemblyLoadContext instead of the default.  This would allow multiple add-ins that use different versions of the same reference assemblies to co-exist and run side-by-side more reliably.

 

 

Tags (3)