green3g / arcgis-pro-addins

A collection of arcgis pro addins in a visual studio project
MIT License
38 stars 8 forks source link

Version for ArcGIS Pro 3.0 #3

Open organskitf opened 2 years ago

organskitf commented 2 years ago

Will you be upgrading this add in for Pro 3.0?

TheCre8r commented 2 years ago

I support this request.

green3g commented 2 years ago

Heyall - thanks for the interest in this. I'd certainly accept a pull request for this enhancement. Unfortunately I don't have a copy of visual studio available on a windows box anymore so I'm not able to test or deploy updates to this. If either of you can send a fresh binary I'd put out a new release that would trigger an update in Pro.

abdulrauf-s commented 1 year ago

Hi, First your tool was bread and butter for me till we upgraded to Pro V3. Kudos for this great product. Your tool is the only reason that I created git-hub account and reply to this post.

That said, how can I/we provide this binary that you are looking for? Having limited knowledge in coding can you please elaborate?

green3g commented 1 year ago

@abdulrauf-s - there's some pretty thorough docs from Esri on this topic, but the basics are:

  1. install visual studio and the Pro SDK
  2. clone this repository, and open it in vs
  3. build the project and grab the binary that it exports

this may not go 100% smoothly depending on how much has changed from 2.x to 3.x but hopefully its that easy.

There's a more detailed guide here: https://developers.arcgis.com/documentation/arcgis-add-ins-and-automation/arcgis-pro/tutorials/build-your-first-add-in/

abdulrauf-s commented 1 year ago

Hi, Thanks for taking time to reply. I have followed the steps and got these errors image I will try to search how to solve these issues. In the meantime if you have time please do reply. Thanks.

abdulrauf-s commented 1 year ago

Ok, When i try to create a new projcet it gives an error that ArcGIS Pro needs to be installed. Has that ever been the case? Or i am missing something? image And i believe the first error in the above picture is directing to same issue. Will try to find a copy of ArcPro3. And will get back to you.

abdulrauf-s commented 1 year ago

After Installing ArcPro and running the build got these error.

Unknown build error, 'Could not load type 'System.Diagnostics.CodeAnalysis.SuppressMessageAttribute' from assembly 'System.Runtime, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.' ProAddins

There are 18 warnings as well and that list his huge.

abdulrauf-s commented 1 year ago

Also I am noticing following refrences not available. image

abdulrauf-s commented 1 year ago

Sorry for this getting lengthy. As ArcGIS pro need .net 6 framework I cannot find it in target framwork although it is installed. image

green3g commented 1 year ago

Hey, I can't be sure but it seems like it might have something to do with outdated versions of. Net.

I tried looking around and there was some interesting suggestions in here

https://stackoverflow.com/a/70025843

green3g commented 1 year ago

Also, yes you would need to install pro to run the build

abdulrauf-s commented 1 year ago

To guys who are still looking for this tool be updated. There is another user already created Google Street View for Pro V3. You can find it here.

https://github.com/nicogis/ArcGISPro_AddIn_StreetView

abdulrauf-s commented 1 year ago

Also Another User has update this same tool at this location https://github.com/jsimpson746/arcgis-pro-addins/releases/tag/3.0 But source code is still old.

Above both tools are working and tested.