I tried that once and it did not work, but that was before you fixed things. I had a small test, compiled under windows which uses 4.0 by default, and tried to move the .dll over and run it with no success, but I don't remember the exact error at this time. Michael Giagnocavo <mgg@giagnocavo.net> wrote:
Try editing the Makefile to use dmcs instead of mcs. Although, that might require Mono 2.10.
-Michael
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of R H Sent: Tuesday, November 22, 2011 2:35 PM To: FreeSWITCH Users Help Subject: [Freeswitch-users] Does Mod_Managed support .NET 4.0? If Not, can it be added?
Hi,
I'm running Mono 2.8.2 which, according to Mono's website, supports several of the API's introduced in 4.0. Unfortunately the moment I compile my libraries with a target runtime of Mono 4.0 Mod_Managed throws the following exception when attempting to load a library:
Missing method System.Threading.Monitor::Enter(object,bool&) in assembly /usr/lib/mono/2.0/mscorlib.dll, referenced in assembly /usr/local/freeswitch/mod/managed/PsiCallCenterAddon.dll
From what I have read, This new method definition was added in 4.0 and is supported by mono 2.8.2 but for some reason using this version of mono with mod_managed is failing. The documentation at http://wiki.freeswitch.org/wiki/Mod_managed seems to explicitly state support for 3.5 but makes no mention of 4.0.
So is there current or planned future support for .NET 4.0? What needs to be done to add support of everything mono 2.8.2 has to offer?
Any help or information would be appreicated. Thanks!
Ryan
---------------------------------------------------- Alternatives:
---------------------------------------------------- _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com