Hi all,
I started to develop a add-in ArcGIS Pro. We have already Web UI which we use in other applications like Rhino, AutoCAD, Revit etc. Because of this reason I setup my add-in by using WebViewBrowser to bind UI into WebView2. We have a communication mechanism between UI and host applicaton and we use `System.Threading.Tasks.Dataflow` package to do this. Our core library for this communcation has dependency on version 8.0.0 of this NuGet package in .NET standard.
I'm getting unhandled exception when we try to load this assembly from bin/add-in folder (We don't have problem with .dll existence on folder).
I was wondering somehow ArcGIS Pro SDK borks this load, and if this is the case why? Any clue on this?
Best
- Oğuzhan
Hi,
Your assembly must exists inside esriAddinX file. Before execution your esriAddinX file will be moved to cache folder then extracted.
Open your compiled esriAddinX file with archiver as archive. Step inside Install folder. Your assembly must be located here.
Hi @GKmieliauskas,
I didn't have a problem with existence of .dlls. I've double checked it with everywhere. I realized a couple of hours ago there is a version mismatch somehow. I saw version 6.0.0 assemblies for `System.Threading.Tasks` loaded except `System.Threading.Tasks.Dataflow` when I run `AppDomain.CurrentDomain.GetAssemblies` function before trying the load my dependency. Problem solved when I downgrade my dependency to version 6.0.0. My guess is somehow ArcGIS Pro SDK load these assemblies with version 6.0.0.
Best