Map doesn't exist in the namespace

618
4
11-09-2010 02:41 PM
BenSher1
New Contributor
I'm testing a wpf/engine application and referencing the map namespace, but i get the error the name"Map" does not exist in the namespace "http://shcemas.esri.com/arcgis/client/2009
0 Kudos
4 Replies
AliMirzabeigi
New Contributor
Could you please provide which version of the .Net Framework and the ESRI API you are using in your WPF application?
0 Kudos
BenSher1
New Contributor
3.5 .net and 2.1 for silverlight api
0 Kudos
AliMirzabeigi
New Contributor
This issue usually happens when you use the DLLs built for .Net Framework 4.0 in a .Net Framework 3.5 WPF application. Make sure you are using ESRI.ArcGIS.Client.dll file that is built for .Net Framework 3.5.
0 Kudos
BenSher1
New Contributor
Thanks, that was it, just changed to point my project to .net 4 and we're good.
0 Kudos