Hi, If I place the DLL in mod\managed I get the following error: [err] mod_managed.cpp:287 Assembly::LoadFrom failed: system.IO.FileNotFoundException: Could not load file or assembly 'file:///c:program files (x86)\Freeswitch\mod\freeSWITCH.Managed.dll' or one of its dependencies. The system could not find the file specified. As I said. When I place freeSWITCH.Managed.dll straight into \mod then everything works fine. Thanks Phil On Sat, Jul 11, 2009 at 9:15 AM, Diego Toro <dftoro@yahoo.com> wrote:
Hello,
What error do you get when dll is put on mod/managed ?, I work with dll's on mod/managed although I changed loadfile by loadfrom on loader.cs.
Diego
--- On *Fri, 7/10/09, Phillip Jones <pjintheusa@gmail.com>* wrote:
From: Phillip Jones <pjintheusa@gmail.com> Subject: Re: [Freeswitch-users] managed_mod directories To: freeswitch-users@lists.freeswitch.org Date: Friday, July 10, 2009, 6:22 PM
It is looking in mod.
It required the mod\managed directory, but if I place my dll in mod\managed it fails. DLL must be in mod - mod\managed is empty.
My app works fine though
Phil
On Fri, Jul 10, 2009 at 4:48 PM, Michael Giagnocavo <mgg@giagnocavo.net<http://us.mc335.mail.yahoo.com/mc/compose?to=mgg@giagnocavo.net>
wrote:
You’re saying that it requires the managed DLL to be in both the mod and mod\managed directory? What error do you get if it’s only in mod? It’s been months, but I just checked loader.cs and it looks explicitly in the managed directory to resolve assemblies as well as to scan to load them.
-Michael
*From:* freeswitch-users-bounces@lists.freeswitch.org<http://us.mc335.mail.yahoo.com/mc/compose?to=freeswitch-users-bounces@lists.freeswitch.org>[mailto: freeswitch-users-bounces@lists.freeswitch.org<http://us.mc335.mail.yahoo.com/mc/compose?to=freeswitch-users-bounces@lists.freeswitch.org>] *On Behalf Of *Phillip Jones *Sent:* Friday, July 10, 2009 11:46 AM *To:* freeswitch-users@lists.freeswitch.org<http://us.mc335.mail.yahoo.com/mc/compose?to=freeswitch-users@lists.freeswitch.org> *Subject:* [Freeswitch-users] managed_mod directories
Hi there,
Using windows with the pre-compiled binary / msi found via the WIKI
Using mod_managed with no problems however:
mod_managed appears to require I create a directory 'managed' under C:\Program Files (x86)\FreeSWITCH\mod
BUT also requires that I place my .dll in C:\Program Files (x86)\FreeSWITCH\mod and NOT C:\Program Files (x86)\FreeSWITCH\mod\managed
thus making C:\Program Files (x86)\FreeSWITCH\mod\managed redundant
Anyone else seen this behavior?
Thanks!
Phillip Jones
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org<http://us.mc335.mail.yahoo.com/mc/compose?to=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
-----Inline Attachment Follows-----
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org<http://us.mc335.mail.yahoo.com/mc/compose?to=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
_______________________________________________ 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