Select to view content in your preferred language

Error following Regression Testing set-up

355
1
03-30-2023 07:08 AM
Proctorj
New Contributor

Hello,

I am trying to set up testing within Visual Studio for ArcGIS Pro 2.9 running .Net framework 4.8. I am following the instructions here: https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Regression-Testing#part-1-create-unit-test-proj...
I have completed the steps up until creating the helper class, which seems to have a problem working with ArcGISTest:

Proctorj_0-1680185169879.png

 

I have used the references from the source code provided and checked that they do match to where everything is installed locally. All of the other references seem to work okay. The only one I have not been able to match to the documentation is ArcGISPro.dll which I am not able to find in the bin as the documentation suggests: "Make sure "ArcGISPro.dll" from the "bin" folder is also selected, this isn't referenced in the Add-In project."

I have checked all dlls in that folder and I'm not able to find that specific dll for the reference, and I am not able to find anything relating to testing.

Any ideas on how to move past this issue?

0 Kudos
1 Reply
CharlesMacleod
Esri Regular Contributor

The current documentation is for Pro 3.0 or better. I think ArcGISPro.dll was added at 3.0.  Try referencing ArcGISPro.exe instead.

Note: to get to previous copies u can click on the revisions link at the top of the page (I think the images might still show the current ones fyi)

revisions1.png

revisions2.png

0 Kudos