[Ironruby-core] using custom controls with gestalt

Mark Ryall
Mon, 25 Jan 2010 08:17:20 -0000

I''m preparing some demos of using silverlight+ironruby with gestalt.

It''s really impressive but i''d like to show an example using
the bing
map control but can''t work out how to make external controls
available.

Here''s what I thought I should do:

* Created a Microsoft.Maps.slvx containing the
Microsoft.Maps.MapControl.dll and Microsoft.Maps.MapControl.Common.dll
* Cracked open the dlr.xap file and added <ExtensionPart
Source="Microsoft.Maps.slvx" /> to the manifest and packaged it up
again

The browser had cached dlr.xap which confused me for a while but I can
now see the Microsoft.Maps.slvx is getting downloaded (i''m using my
own little webserver tool - http://bitbucket.org/markryall/webshare/)
but none of the classes seem to be available.

Can anyone see what''s missing?

I''d also like to demo using silverlight 4 - does anyone know if
changes are required to the gestalt dlr.js, dlr.xap etc. to use the
new features (camera control etc.)?

Mark.