0

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.

4
  • 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, 2013 at 14:11
  • I have installed the WPF version
    – JLott
    Mar 29, 2013 at 14:55
  • Does the project reference the ESRI.ArcGIS.Client.Toolkit.dll assembly?
    – Petr Krebs
    Mar 29, 2013 at 21:42
  • That was the problem @PetrKrebs haha. I felt pretty silly.
    – JLott
    Apr 1, 2013 at 13:09

2 Answers 2

0

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

0

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

1
  • I am using WPF. I looked there but it didn't really tell me what to do differently.
    – JLott
    Mar 29, 2013 at 15:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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