SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Problem mit IronRuby Code

Last post 10-27-2012 1:49 PM by MattWard. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 10-26-2012 2:25 PM

    • Prof.P
    • Not Ranked
    • Joined on 08-08-2011
    • Posts 2

    Problem mit IronRuby Code

    Hi,

    Wenn ich den Beispiel-Code aus z.B. folgender Site kopiere

    http://www.infoq.com/articles/ironruby-wpf

     

    Der Code startet mit

    require "WindowsBase"

    bekomme ich folgende Fehlermeldung:

     

    IronRuby.Builtins.LoadError: no such file to load -- WindowsBase

     

    Wahrscheinlich ein Konfigurationsproblem. Any ideas?

    Filed under: ,
  • 10-27-2012 1:49 PM In reply to

    Re: Problem mit IronRuby Code

    That code assumes you have IronRuby installed. IronRuby has some helper files in its Lib\IronRuby folder such as WindowsBase.rb which include code to do the full import of the assembly. SharpDevelop does not include these files. So to get the code working you would need to use the fully qualified assembly name. For example:

    require "PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.