我跟着tutorial獲得ironruby和運行,這很好。然而,當我嘗試深入研究一些,如使用按鈕單擊事件,我得到這個錯誤;開發Windows Phone 7應用程序IronRuby有多可行?
Could not load type 'System.Reflection.Emit.ModuleBuilder' from assembly 'mscorlib, Version=3.7.0.0, Culture=neutral, PublicKeyToken=969DB8053D3322AC'.
而且我MainPage.rb
include System
include System::Windows
include System::Windows::Controls
# Set the titles
Phone.find_name("ApplicationTitle").text = "this is the application title"
Phone.find_name("PageTitle").text = "and page title here"
# Create a new button and add to page
button = Button.new
button.content = "Click Me"
Phone.find_name("ContentPanel").children.add(button)
button.click do |s,e| # breaks here
MessageBox.show("Button Click Works!")
end
它是目前posisible建立專業應用與IronRuby的?