I have encountered a problem with Visual Studio giving me this error:
An unhandled exception of type 'System.NullReferenceException' occurred in ArcGIS.Desktop.Framework.dll
Object reference not set to an instance of an object.
I am working in ArcGIS Pro 2.3.3 using ArcGIS Pro SDK 2.3
I am just trying to build a basic button from the tutorial like this one:
https://developers.arcgis.com/labs/pro/build-your-first-add-in/
I download the solution to build it and I get that error.
However I can build the .NET projects:
https://developers.arcgis.com/labs/net/add-layers-to-a-map/
Has anyone seen this error? I cannot build any ArcGIS Pro addins right now.
Solved! Go to Solution.
Hello, the downloadable solution for the "Build your first add-in" DevLab works fine with the Pro and Pro SDK versions you have installed. I would recommend downloading again and trying it. In addition to the DevLabs there are many full solution samples you can try at: https://github.com/esri/arcgis-pro-sdk-community-samples
Hello, the downloadable solution for the "Build your first add-in" DevLab works fine with the Pro and Pro SDK versions you have installed. I would recommend downloading again and trying it. In addition to the DevLabs there are many full solution samples you can try at: https://github.com/esri/arcgis-pro-sdk-community-samples
Christopher,
Thanks for the confirmation. I went in and deleted all the Addins in ArcGIS Pro to start over and that seems to help. One of the addins I was trying to build was causing this error!