Select to view content in your preferred language

Using the Map Printing Sample

1170
2
05-11-2013 10:47 PM
Labels (1)
ArielLomes
Deactivated User
Hi,

I'm trying to use the Map Printing Sample shown here.

However, it gives me all sorts of referencing and dependencies issues.

I'm using Visual Studio 2010 on a 64bit Win 7.

Did anyone manage to run it successfully?

Also, is there anyway to run it from the ArcGIS Runtime SDK for WPF Sample Application? I haven't seen anyway to add samples to that application.
0 Kudos
2 Replies
ArielLomes
Deactivated User
I get this error:
[ATTACH=CONFIG]24226[/ATTACH]

Which says the following:

Could not load file or assembly 'ESRI.ArcGIS.Client.Local, Version=10.1.0.0, 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)


And if I try to load ESRI.ArcGIS.Client.Local again, it just goes on and on repeating to other referenceses with the same errors. If I replace all of them, it just gives about 40 or so errors.
0 Kudos
ArielLomes
Deactivated User
Ok solved the issue.

I accidently referenced some of the dependencies from an older version (1.0) and some from (1.0.1.1) which caused the conflict.

Now it works perfectly.
0 Kudos