[Moonlight-list] Problem running MoonLight desklet examples

Rolf Bjarne Kvinge rolflists at ya.com
Fri Mar 13 18:29:24 EDT 2009

> Hello all
> I've run into a runtime problem when trying the MoonLight desklet
> examples, which come with the Moon 1.0.1 release. So far I've been able to
> and install the following

You're mixing versions a bit, Moonlight 1.* does not support desklets (which
require managed code).

Moonlight 2.0 will when it comes out.

The reason svn/Moon 1.0 source code has desklets at all is that we had some
early support for managed code (disabled in the  Moonlight 1.0 release since
Silverlight 1.0 doesn't have managed code). 

We're now working on Moonlight 2.0, however due to the code changing very
rapidly the desklets have fallen behind and in svn they're currently broken.
This will get fixed later on (so all you need is a little patience ;-)


> - Mono 2.2
> - gtk 2.8.5
> - MoonLight 1.0.1
> Now, when trying to run for instance 'example-glassymonitor', I get the
> following error:
> ManagedXamlLoader::LoadObject (monitor.dll, monitor.dll, ,
> Desklets.Monitor)
> failed: Argument cannot be null.
> Parameter name: source (System.ArgumentNullException).
> Could not parse element Canvas, attribute Class, error: Unable to
> resolve
> x:Class type 'Desklets.Monitor;assembly=monitor.dll'
> All other examples fail in a similar way. If I remove the X:class code
> behind reference in the example default.xaml, then the desklet does
> open a
> window and  there are no fatal errors occurring.
> Does anyone have an idea about what the problem can be? :-) Thanks in
> advance.
> --
> View this message in context: http://www.nabble.com/Problem-running-
> MoonLight-desklet-examples-tp22492434p22492434.html
> Sent from the Moonlight mailing list archive at Nabble.com.
> _______________________________________________
> Moonlight-list mailing list
> Moonlight-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/moonlight-list

More information about the Moonlight-list mailing list