is it possible load both esri v10 and esri v100 sdk at the same time in the same appDomain?

226
1
04-30-2020 09:13 AM
MathieuLemay1
New Contributor

Both have the same dll hardcoded name Esri.ArcGISRuntime.dll

When i try only 1 of the 2 is loaded, even if i force Assembly.LoadFile, it is loaded in the appDomain but cannot use it got:

LOG: The same bind was seen before, and was failed with hr = 0x80131040

0 Kudos
1 Reply
KimberlyMcCarty
Esri Contributor

I don't believe you can as even if you get both to load in your project, both dlls will contain similarly named assemblies that would overlap and cause other issues when attempting to reference one specifically.

0 Kudos