Select to view content in your preferred language

'InitializeComponent' is not declared

976
1
01-06-2011 09:48 AM
ElizabethMiller
Regular Contributor
Like others on this list I am trying to set up a basic map using the sample code and am getting many errors of this nature (i.e." 'InitializeComponent' is not declared," "'MyMap' is not declared," etc.) When I mouse over the errors in Visual Web Developer 2010Express, I get the error correction option hints that list the name of my project twice, for example:

"Generate method stub for 'InitializeComponent' in 'SilverlightApplication.SilverlightApplication.MainPage'"

Why is this happening and how can I restructure my project so that these connections link up properly?

Thanks for your help!
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
If you are using VB, it's probably the same error than this described in this thread : http://forums.arcgis.com/threads/11700-InitializeComponent-is-not-declared-Expression-Blend-Error?p=...
0 Kudos