Visual Studio 2010 and ESRI SL 2.0 API - design mode not working

550
4
05-02-2010 08:15 AM
MichaelMacDonald
New Contributor
Hi all,

I've just upgraded to 2.0 of the ESRI SL API.  Everything was running smoothly with 1.2 but now I cannot get into design mode in Visual Studio 2010.   It compiles and runs fine however it makes it difficult to actually design stuff obviously.  When the error comes up it seems to highlight my map control inside of the XAML file. 

I get the following error:

System.Reflection.TargetInvocationException

More details:

Error 13 [Control_TargetTypeMismatch]
Arguments:
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.50401.0&File=System.Windows.dll&Key=Contro... C:\Users\MMac\Documents\My Dropbox\mike\BioD\biodiaspora5\BioDMap\MainPage.xaml 97 9 BioDMap
0 Kudos
4 Replies
LanceCrumbliss
Occasional Contributor II
woah...where did you get the new ESRI SL API from?  it still shows 1.2 on the page i see here http://resources.esri.com/arcgisserver/apis/silverlight/

lance
0 Kudos
by Anonymous User
Not applicable
Add this reference to your Silverlight project "System.Windows.Controls.Data.Input".
0 Kudos
ShaningYu
Frequent Contributor
0 Kudos