Print Add-In Namespace Issue

540
1
12-03-2012 11:37 AM
MarkLawrence
New Contributor
I am attempting to implement Dominque Broux's printing solution for the Silverlight SDK.

I have followed the readme, checked and double checked all the references are present.  I am getting the build error:

The type or namespace name 'Samples' does not exist in the namespace 'ESRI.ArcGIS.Client' (are you missing an assembly reference?) <path>\MainPage.g.i.cs

The namespace used for the MapPrintingControls project is ESRI.ArcGIS.Client.Samples.  The declaration on the XAML page looks like
xmlns:printing="clr-namespace:ESRI.ArcGIS.Client.Samples.MapPrinting;assembly=MapPrintingControls"

I am hoping maybe I am just missing something simple.  Anyone work with this sample before, or possibly know what I may have done wrong?
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
It's likely due to an issue in the referenced dlls:
  - double check the ESRI referenced dlls (check that the path points to the right version)
  - clean your solution
  - exit from VS
  - remove bin and obj directories
  - try building again the project
0 Kudos