Has anyone faced this syntax error before ? Implementing class 'ESRI.ArcGIS.Carto.RasterLayerClass' for interface 'ESRI.ArcGIS.Carto.RasterLayer' cannot be found. in second line below
Dim pRasterLayer As ESRI.ArcGIS.Carto.IRasterLayer
pRasterLayer = New ESRI.ArcGIS.Carto.RasterLayer
I've already added the ESRI.ArcGIS.Carto reference to my solution
IRasterLayer is in Carto but the implementing class (RasterLayer) requires references to Geodatabase, Display, System, and DataSourcesRaster. Make sure you have all of these assemblies added as references.