Pregunta

I have been attempting to create a Windows Application using Iron Ruby Version 1.1 and Ruby in Steel for Windows Visual Studio 2010. I have attempted many times to start a new Iron Ruby Windows Application project. I am able to create such a project, however, upon creation, the project is merely a .rb file. My question is how can I create a Windows Form file in [Design] mode?

¿Fue útil?

Solución

Iron Ruby lacks any support for a designer in WinForms, currently. You'll have to manually code it, much of what the designer is doing for you.

Someone wrote a tool to convert C# designer code into Ruby, but that's as much support for a WinForms designer as Iron Ruby has.

There may be designer functionality support added later, either third party or official, but nothing exists like that right now. There is some promising progress though.

Otros consejos

Whilst Visual Studio with Ruby in Steel does not have support for designing Windows Forms you could try using SharpDevelop at least for the Windows Forms code generation. SharpDevelop has support for creating Windows Forms projects in IronRuby and also has a forms designer that will generate IronRuby code.

As far as I am aware the IronRuby support that SapphireSteel were working on was stopped and they are concentrating on standard Ruby.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top