开发者

How to compile IronRuby into a Silverlight Application (XAP)?

I'm looking to possibly use IronRuby as the primary language for development of a Silverlight 4 application. I know there's the "IronRuby in the Browser" stuff that uses Gestalt, but I would like to build a standard Silverlight Applicatin using IronRuby and XAML that gets compiled into a XAP file, just like you can in C#.

Anyone know if there is a way to do this easily?

I have thought about a way to use the ScriptEngine t开发者_运维技巧o load/execute an IronRuby Resource file (.rb) on Application Startup that utilizes a XAML Resource (same as C# would) to get the application working. I have yet to try this method, and am wondering if anyone has tried anything similar or has another idea on how to do it. Thanks.


you just must use Chiron.exe from IronRuby distr, like:

Chiron.exe /d:path_to_app /z:where_you_want_to_save/app.xap

and chiron generate app.xap file for your project

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜