Esri / data-assistant

ArcGIS Pro Add-in that assists in emergency management, local government and state government data aggregation workflows.
Apache License 2.0
22 stars 8 forks source link

[Question] Using pyt toolbox #224

Closed JRosenfeldIntern closed 7 years ago

JRosenfeldIntern commented 7 years ago

I'm looking into changing the DataLoadingAssistant.tbx to a pyt. This will help us implement any enhancements to the GPTools themselves much more easily. The problem is I don't know how to deploy that pyt into the location the tbx is located in when installing the add-on.

The path looks something like this: C:\Users\josh9173\AppData\Local\ESRI\ArcGISPro\AssemblyCache{28142961-b645-420f-ba2a-72bcf8212558}\GPTools

But of course it's different based on the installation.

Anyone with more experience here know how to implement this?

@chris-fox @pLeBlanc93 @MikeMillerGIS @ChrisBuscaglia

pLeBlanc93 commented 7 years ago

That occurs when the addin is installed.

JRosenfeldIntern commented 7 years ago

yeah I agree @pLeBlanc93 but it's got to say somewhere whereabouts it should be located. Can't seem to find it in the solution so far.

JRosenfeldIntern commented 7 years ago

Figured it out. Should you ever want to do this it has to be done in the Visual Studio Solution.

Add it as an item into the solution then go to it's properties. Set "Copy to Output Directory" to always. It should show up in the relative directory it is in the solution.