Select to view content in your preferred language

Namespace Geodatabase not found

715
1
Jump to solution
08-15-2013 05:20 AM
ShaningYu
Honored Contributor
I am updating a WCF project.  I added the ESRI.ArcGIS.Geodatabase as the reference.  In the class, by referrring http://resources.esri.com/help/900/arcgisexplorer/sdk/doc/6b970ec8-9ab3-4837-969e-411bcf9789d3.htm, where
   Geodatabase gdb = new Geodatabase(@"C:\Data\Scotland.gdb");
I coded like that almost exact, such as:
   ESRI.ArcGIS.Geodatabase gdb = new ESRI.ArcGIS.Geodatabase();
But under the Geodatabase, I got the error warning:
ESRI.ArcGIS.Geodatabase' is a 'namespace' but is used like a 'type'
What's wrong I coded here?  Thanks.
0 Kudos
1 Solution

Accepted Solutions
ShaningYu
Honored Contributor
Realized that in .net web project, can't work on Geodatabase directly.  Case closed.

View solution in original post

0 Kudos
1 Reply
ShaningYu
Honored Contributor
Realized that in .net web project, can't work on Geodatabase directly.  Case closed.
0 Kudos