|
POST
|
Hi, We have two ArcMap Add Ins each with an Extension. Can we control who loads first programmatically? Desktop 10.6.1 C#
... View more
02-11-2019
10:15 PM
|
0
|
0
|
682
|
|
POST
|
Thanks Sean, System.Reflection.AssemblyName.GetAssemblyName(path_to_DLL).Version.ToString() We are not sure what event to catch to be sure all Addins loaded last version(we have one network folder with *.esriAddIn files constantly updated)? "Setting OnDemand true in this case seems like an overkill so I would just go with the controls click event." Should we do artificial click events (we have >10 AddIns, >30 users)?
... View more
01-14-2019
03:04 PM
|
0
|
1
|
2077
|
|
POST
|
Thanks Duncan, They are Add-In buttons. Yes, we use OnUpdate() method of an AddIn button. What about other Add-in buttons? Are you saying it must be their OnUpdate() method? We only need to confirm that we working not with an old but with an updated version of each Add-in. Nothing about a map. Do you have any link to the official documentation confirming it?
... View more
01-13-2019
10:41 PM
|
0
|
1
|
2077
|
|
POST
|
Hi, We have Add-ins constantly updated by replacing *.esriAddIn files on a network folder. We know, that every time ArcMap starts, it copies from the network to a local AssemblyCache folder. How to catch (programmatically) an event when an Add-In has finished loading in ArcMap? To make sure we working not with old but updated version of Add-ins.
... View more
12-20-2018
03:01 PM
|
0
|
10
|
2577
|
|
POST
|
How could we set "CopyLocalDependenciesWhenParentReferenceInGac" to false?
... View more
11-08-2018
05:37 PM
|
0
|
2
|
1021
|
|
POST
|
We have submitted to Microsoft community as well. Visual Studio 2017 15.8.0 .Net 4.5 copies secondary reference/dependency - Developer Community
... View more
11-08-2018
03:28 PM
|
0
|
0
|
1021
|
|
POST
|
We think the key is a GAC, and Visual Studio 2017 does not see the ESRI DLLs in the GAC when builds.
... View more
11-07-2018
04:10 PM
|
0
|
0
|
1021
|
|
POST
|
We have compared Visual Studio 2017 and Visual Studio 2013 for the demo. With MSBuild reports, the log output are different (In Visual Studio, go to Tools > Options > Projects and Solutions > Build and Run. Change the "MSBuild project build output verbosity" setting to Detailed. Now clean and rebuild your project. ) ////////////////////////////////////////// For 2017 1> Dependency "ESRI.ArcGIS.Geodatabase, Version=10.6.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86". 1> Resolved file path is "C:\Program Files (x86)\ArcGIS\DeveloperKit10.6\DotNet\ESRI.ArcGIS.Geodatabase.dll". 1> Reference found at search path location "C:\Program Files (x86)\ArcGIS\DeveloperKit10.6\DotNet". 1> For SearchPath "C:\Program Files (x86)\ArcGIS\DeveloperKit10.6\DotNet". 1> Considered "C:\Program Files (x86)\ArcGIS\DeveloperKit10.6\DotNet\ESRI.ArcGIS.Geodatabase.winmd", but it didn't exist. 1> Required by "ESRI.ArcGIS.ADF.Local, Version=10.6.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86, processorArchitecture=MSIL". 1> Required by "BaseLibrary1". 1> Found related file "C:\Program Files (x86)\ArcGIS\DeveloperKit10.6\DotNet\ESRI.ArcGIS.Geodatabase.xml". 1> The ImageRuntimeVersion for this reference is "v4.0.30319". /////////////////////////////////////////// For 2013 1> Dependency "ESRI.ArcGIS.Geodatabase, Version=10.6.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86". 1> Resolved file path is "C:\Program Files (x86)\ArcGIS\DeveloperKit10.6\DotNet\ESRI.ArcGIS.Geodatabase.dll". 1> Reference found at search path location "C:\Program Files (x86)\ArcGIS\DeveloperKit10.6\DotNet". 1> For SearchPath "C:\Program Files (x86)\ArcGIS\DeveloperKit10.6\DotNet". 1> Considered "C:\Program Files (x86)\ArcGIS\DeveloperKit10.6\DotNet\ESRI.ArcGIS.Geodatabase.winmd", but it didn't exist. 1> Required by "ESRI.ArcGIS.ADF.Local, Version=10.6.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86, processorArchitecture=MSIL". 1> Required by "BaseLibrary1". 1> Found related file "C:\Program Files (x86)\ArcGIS\DeveloperKit10.6\DotNet\ESRI.ArcGIS.Geodatabase.xml". 1> This reference is not "CopyLocal" because it's registered in the GAC. 1> The ImageRuntimeVersion for this reference is "v4.0.30319".
... View more
11-07-2018
04:08 PM
|
0
|
0
|
2250
|
|
POST
|
We reproduced it in a small demo in Visual Studio 2017. Please see attached zip at the topic "SecondProjectReference.zip" with two simple solutions.
... View more
11-07-2018
04:00 PM
|
0
|
0
|
2250
|
|
POST
|
Thanks Sean, We have esri references set to false (all properties: "Copy Local", "Embed Interop Types" and "Specific Version") as you see on the image above. For all references across the first and the second solution. Yes, in the second, we should have the reference to the first "Copy Local" = true. Little hope that support could help.
... View more
10-29-2018
05:18 PM
|
0
|
0
|
2250
|
|
POST
|
What is important: We have two our dlls (solutions): first and second. The first has only ESRI references. The second has a reference to the first and ESRI references. The issue does not appear in the first. It appears in the second.
... View more
10-29-2018
03:01 PM
|
0
|
0
|
2250
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-14-2017 10:40 PM | |
| 1 | 02-13-2019 05:03 PM | |
| 1 | 04-12-2017 09:41 PM | |
| 1 | 11-14-2017 06:00 PM | |
| 1 | 06-19-2017 10:52 PM |
| Online Status |
Offline
|
| Date Last Visited |
09-13-2021
09:41 PM
|