C# Visual Studio Express 2010 Version namespace not recognized

05-08-2012 07:29 AM
New Contributor II
Hello all:

I am trying to use the Version namespace in VS Express 2010 to bind my standalone application to the Desktop runtime. Adding the reference doesn't seem to be a problem however when building the code I get this error message:

The type or namespace name 'Version' does not exist in the namespace 'ESRI.ArcGIS' (are you missing an assembly reference?)

//Calls to needed assemblies
using ESRI.ArcGIS.esriSystem;
using ESRI.ArcGIS.Geodatabase;
using ESRI.ArcGIS.DataSourcesGDB;
using ESRI.ArcGIS.Geometry;
using ESRI.ArcGIS.Version;
using System;

Executing the code fails, obviously,since the calls to this namespace aren't recognized.

No troubles with other namespaces in this case just the Version namespace. Are there any particular settings I should modify in VS Express?

Suggestions or thoughts?

Thanks in advance

0 Kudos
2 Replies
Occasional Contributor III
Set "Specific Version" on Esri.Arcgis.Version to false (properties on reference)
0 Kudos
Occasional Contributor II
The assembly name is ESRI.ArcGIS.Version but the namespace is only ESRI.ArcGIS

using ESRI.ArcGIS;
0 Kudos