AnsweredAssumed Answered

Editing in WPF with C#

Question asked by dalejs on Sep 23, 2014


Hi and thanks for looking at my question.  I am new to WPF and C#, I have used the ArcGIS SDK for .Net (Beta) code on github for the offline editor.  It is the on with the Birds data where you can create an offline database, and add bird sightings to it.  That works fine, and I have used that as a base to create a similar application to add points to a map, this all works fine.

 

I am working on adding code to the application to edit the data in the offline database.  I am working on integrating the Feature Data Form from the Interactive Sample Application so I can select a point in the map, open the form and edit the data on the map.

 

Therein lies the problem:

 

{"Could not load file or assembly 'ESRI.ArcGIS.Client, Version=2.4.0.851, Culture=neutral, PublicKeyToken=29c6dd6e8553d944' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)":"ESRI.ArcGIS.Client, Version=2.4.0.851, Culture=neutral, PublicKeyToken=29c6dd6e8553d944"}

 

I have version 10.1.0.0 referenced.

 

If I reference version 2.4.0.851 I get error messages where properties do not exist in;   http://schemas.esri.com/arcgis/client/20

 

Not sure where to go with this or what to try next, any ideas, can anyone point me in the right direction?

 

Note: the Interactive Sample Applications work great, but so far I have not been able to get any to run if I attempt to re-create them using Visual Studio 2012 - WPF application.

 

Thanks, Dale,

 

Outcomes