Defining Projection using ArcCatalog Add-In

Discussion created by gallant1 on Aug 9, 2011
Latest reply on Aug 10, 2011 by gallant1
I have been converting the following example to a ArcCatalog 10 Add-In. I got everything to work but one line.

Dim pGeoDatasetEdit As IGeoDatasetSchemaEdit

It gives me an error "Type 'IGeoDatasetSchemaEdit' is not defined". I have added all the imports and it still doesn't work. Is this not valid in the Add-In or do i need to change it to something else? Any thoughts or ideas would be appreciated.