Select to view content in your preferred language

Dominique BROUX Printing with 2.2 API

802
1
04-07-2011 01:22 PM
DavidAshton
Frequent Contributor
Hey Dominique,

I just upgraded to beta 2.2 API and realized that now VS doesn't like the line:

<controls:PrintOverviewLayer />

"It states the value type PrintOverviewLayer cannot be add to a collection or dictionary of type layercollection."

I didn't even think about it when I upgrade, I set my ref back to 2.1 and it went away back to normal. 

Is 2.2 not support or do I need to rebuild you dll or something?
Thanks
Dave
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
It's supposed to support 2.2.

Your issue looks like a dll version mismatch.

Check all the references to ESRI.ArcGIS.... in your projects (they have to reference 2.2)
Clean the solutions.
Remove the directories bin et obj.
Try to rebuild.
0 Kudos