I have successfully launched a sliverlight 1.0 app and now I am up to the task of trying to create a silverlight webpart. It's nothing fancy and it follows the ideas of the helloworld webpart i've seen.
Everything seems ok except the project will not recognize the XAML files. Everything with in the XAML file is blue as if VS2008 has no idea what it is. The project will not build because of this.
I've built other webparts usingthe VB CLass library and adding a bunch of Imports.
this is the error
Error 1 The tag 'Canvas' does not exist in XML namespace 'http://schemas.microsoft.com/client/2007'. Line 3 Position 13. C:\Documents and Settings\cacarey\My Documents\Visual Studio 2008\Projects\ClassLibrary1\ClassLibrary1\ClientBin\sl\HelloSilverlight10.xaml 3 13 ClassLibrary1
Now I was able to fix the above error by change the XMLNS= line to be 2006/xaml/presentation which completely breaks other XAML things I have done when it said /2007/ on it.
I get erros like
"All objects added to an IDictionary must have a key attribute or some other type of associated with them."
I have no idea what this means or how to fix it other than adding an x:key="" to everything (which I have no idea what that will do)
What am I doing wrong? Completely silly if you can't do this in webparts without using some old code version or something.