PDA

View Full Version : Problem with getting config on Mono


arsenjew
02-15-2005, 10:28 PM
Hi there,

I encountered some difficulties in instantiating an ApplicationContext from App.config (as described in chapter 3.2.1 of the reference manual) when I tried to run my application on Mono: Instantiating the ApplicationContext from a standalone XML file just worked fine. Using the alternative approach, the application got stuck on line IApplicationContext ctx = ConfigurationSettings.GetConfig("spring/context") as IApplicationContext;.
I did not find any resource on the net that indicated this might be a general problem with Mono. I can't expect you to have an answer to this, either; but maybe you could add a short remark to the manual that the first version is a bit more reliable.
By the way, I think Spring.NET is a perfect choice if you consider portability issues between .NET and Mono (e.g. to toggle between a Windows.Forms view layer and a Gtk# view layer). Great work, keep it up!

Mark Pollack
04-20-2005, 05:51 PM
Hi,

Damn, sorry I didn't see this till now. Griffin Caprio has experience with running Spring.NET on mono. I'll ping him and get back to you.

Cheers,
Mark

Griffin Caprio
04-25-2005, 05:14 AM
Can I ask what OS you are running this under? OS X? Linux? Windows?