Hello @ArunEpuri, did you, by any chance, get a solution to this? I am trying to package the pro-add-in and my python toolbox using @ChrisFox 's method. The issue is that I also have an external python file containing some functions being used in my python toolbox. I tried copying both the python toolbox and the dependent python file into the Add-in directory and setting the build action to 'None' and the Copy to Output Directory to 'Copy always' for both files as recommended. But when pro open, the tool does not appear and I get the following error message
'C:\Users\Stefan\AppData\Local\ESRI\ArcGISPro\AssemblyCache\{1324153b-c1b5-48d0-a19f-5e778729ef24}\ArcGISDataConnector4ODK.pyt\Tool'
Traceback (most recent call last):
File "<string>", line 94, in getParameterInfo
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\ntpath.py", line 78, in join
path = os.fspath(path)
TypeError: expected str, bytes or os.PathLike object, not NoneType
Being newbie to C#, I have no clue of where to go.
Please kindly support if you can
Thanks
Derrick