Namespace Error

Apr 10, 2009 at 8:21 PM
I'm new to silverlight (coming from a Flash/Flex background).  When I try to build the sample apps I get an error:

"The type or namespace name 'OpenReadCompleteEventArgs' could not be found (are you missing a using directive or an assembly reference?) on line 74, column 64 of EventInfo.xaml.cs

Any ideas what could be happening?
Apr 12, 2010 at 3:45 PM

I was able to fix it by adding a reference to System.Net and making unload the project, edit the csproj, change the tags SilverlightPage by Page and reload the project. Details (http://techkn0w.wordpress.com/2009/08/22/silverlight-error-the-name-initializecomponent-does-not-exist-in-the-current-context/)

Nov 23, 2010 at 7:43 AM

And also don't forget to change declare of silverlight version in index.html to this :

<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="640" height="480">
Or it will send you to silverlight download page:)