Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am trying to move all of my GIS code over the Visual Studio 2012. I have added the following references:

C#:

using ESRI.ArcGIS.Client;
using ESRI.ArcGIS.Client.Geometry;
using ESRI.ArcGIS.Client.Tasks;

XAML:

xmlns:esri="http://schemas.esri.com/arcgis/client/2009"

The problem is that many of the objects are not being recognized because they do not exist in the namespace... Some of these include the InfoWindow and Legend. However it seems to be OK with objects such as the PictureMarkerSymbol and the Map and Layers. I don't know if something has changed since I last looked at it, if so I think ESRI need to update their SDK samples. Any help would be appreciated. Thank you in advance.

share|improve this question
    
perhaps a dumb question, but have you installed the latest ArcGIS API for Silverlight (3.1) and its dependencies (resources.arcgis.com/en/help/silverlight-api/concepts/…) , and checked that your references refer to its libraries, and not the libraries for an earlier version? –  MC5 Mar 29 '13 at 14:11
    
I have installed the WPF version –  JLott Mar 29 '13 at 14:55
    
Does the project reference the ESRI.ArcGIS.Client.Toolkit.dll assembly? –  Petr Krebs Mar 29 '13 at 21:42
    
That was the problem @PetrKrebs haha. I felt pretty silly. –  JLott Apr 1 '13 at 13:09

2 Answers 2

up vote 0 down vote accepted

Make sure your project references the ESRI.ArcGIS.Client.Toolkit.dll assembly.

share|improve this answer

You've probably already looked here: http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//000100000408000000 This is .Net specific. If you're developing with silverlight it might be the same. I know there were changes for jscript and one was geometry

share|improve this answer
    
I am using WPF. I looked there but it didn't really tell me what to do differently. –  JLott Mar 29 '13 at 15:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.