Select to view content in your preferred language

The type or namespace name 'mainpage' could not be found (missing directive or ass la

3273
1
07-31-2012 07:04 AM
ELIZABETH50
Occasional Contributor
I trying to use the samples on privided by ESRI Arcgis Silverlight, but I'm getting an error ( MISSING ASSEMBLY REFERENCE OR DIRECTIVE) and I don't know how to fix it.  I attached a screet shot of the code.  Please help, how can i fix this error.  I know it is very simple, but I don't how to fix it. see attachment.
0 Kudos
1 Reply
TanyaOwens
Frequent Contributor
I got the following advice when I had a similar error. It helped me so maybe it will help you:

You can place your Cursor over the class name that is in red causing the error. Edit > Intellisense > Resolve and it will show you what using statement is missing and add it for you.

I hope that helps.
0 Kudos