Hi All,
I am trying to segregated tools and its corresponding function classes into separate projects.
Followed the below documentation -
ProGuide Diagnosing ArcGIS Pro Add ins · Esri/arcgis-pro-sdk Wiki · GitHub
ProConcepts Framework · Esri/arcgis-pro-sdk Wiki · GitHub
1. Created two projects called addIn.ProjectA and userLibrary.ProjectB.
addIn.ProjectA is the add-in project. This has config.daml file
userLibrary.ProjectB is the project where tools functionality available.
namespace userLibrary.ProjectB
internal class testButtonFunction : Button
2. Crosschecked that the addIn.ProjectA's AssemblyName and Default Namespace is same as in Config.daml's default assembly and defaultnamespace values.
3. added userLibrary.ProjectB's Namespace reference to addIn.ProjectA.
4. in the config.daml added below line
<button id="testButton" caption="testButtonFromNewConfig" className="userLibrary.ProjectB.testButtonFunction"
loadOnClick="true" smallImage="Images\hello.png" largeImage="Images\hello.png" >
<tooltip heading="testButtonFromNewConfig">
testButtonFromNewConfig<disabledText />
</tooltip>
</button>
But still the button is unable to call the corresponding class. Please help me.
Thanks in advance.
Note: If we are having both config.daml and the tools functionality in the same project - we dont have any issues.
Regards,
Sreeni.