Select to view content in your preferred language

ArcGIS namespaces not found

1156
4
Jump to solution
11-03-2022 03:09 AM
Daniel4
Emerging Contributor

Hi Everybody, I inherits a visual studio ArcGIS project from an old collega. but when I open up the project in VS, it cant not find the ArcGIS namespaces. 

It showing this:

Daniel4_0-1667469593206.png

And this:

Daniel4_1-1667469626430.png

In my Extension manager I have install this:

Daniel4_2-1667469672118.png

I am using VS 2019 and the ArcGIS Project are used in AGP 2.9.

I do not have any problems creating new AGP projects in VS. 

What am I missing?

 

 

0 Kudos
1 Solution

Accepted Solutions
Wolf
by Esri Regular Contributor
Esri Regular Contributor

To support ArcGIS Pro 2.9 you need to install and use Visual Studio 2019.   Follow these steps to resolve the assembly path issue:

FAQ · Esri/arcgis-pro-sdk Wiki (github.com)

 

View solution in original post

0 Kudos
4 Replies
StephenRhea_NV5
Frequent Contributor

Do you have Pro installed on your machine? The SDK will pull in references from the Pro installation path unless you're using the ArcGIS Pro Extensions NuGet package (https://www.nuget.org/packages/Esri.ArcGISPro.Extensions)

0 Kudos
Daniel4
Emerging Contributor

I have Pro 2.9 installed. 

0 Kudos
Wolf
by Esri Regular Contributor
Esri Regular Contributor

To support ArcGIS Pro 2.9 you need to install and use Visual Studio 2019.   Follow these steps to resolve the assembly path issue:

FAQ · Esri/arcgis-pro-sdk Wiki (github.com)

 

0 Kudos
Daniel4
Emerging Contributor

Great 🙂 Everything looks so pretty now.

Daniel4_0-1667558183895.pngDaniel4_1-1667558210096.png

 

0 Kudos