AnsweredAssumed Answered

ESRI.ArcGIS.Carto is missing?

Question asked by BrianJBaldwin on Jan 31, 2013
Latest reply on Jan 31, 2013 by BillyBuerger
Good morning all, I am just diving into ArcObjects and have been trying to work through some of the samples to get my feet wet, but am having issues with this one in particular. 

I am trying to work through the 'Building Custom UI Elements'

When I load the ZoomToActiveLayerinTOC snippet, i am getting an error that the ESRI.ArcGIS.Carto.IActiveView is not defined.

While it's faint, there are only four options in the ArcGIS class (ArcMapUI, Desktop, esriSystem, Framework)

What am I doing wrong?

I included a screen shot of the code sample.[ATTACH=CONFIG]21248[/ATTACH]