[Freeswitch-users] Compiling ESL as a DLL
Harangozó, László
harangozo.laszlo at tct.hu
Mon Nov 27 15:47:49 UTC 2017
I had the same issue before, here are my saved notes (without verification):
1. First build the full FreeSwitch project Freeswitch.2015.sln
2. Open libs/esl/managed ben a managed_esl.2012
3. There will be an error because ESL.2012.vcxproj is missing
4. You have to search the repo history for the last rev when it was
present and copy it to its place, last time I used this
<https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/libs/esl/managed/ESL.2012.vcxproj?at=9842e9efd87b9e3bc0979adcf9db1b0fd1821790>
5. Open the .sln
6. Retarget solution (ctx menu after right click on the solution)
7. Build solution
8. If the demo app crashes with a bad image exception change the
architecture from ANY cpu to the same platfrom you have build the full FS
proj at step 1
*Harangozó László*
Mobil: +36 (20) 447 8247
E-mail: harangozo.laszlo at tct.hu
TcT Hungary Kft.
H-1118 Budapest, Rétköz u. 7.
Eleven Center P5
[image: tct logo.jpg]
Jelen levél üzleti, illetve személyes információkat tartalmaz, amelyek
jogosulatlan felhasználása, továbbítása, nyilvánosságra hozatala tilos. A
levél tartalma üzleti titokként kezelendő. Ha nem Ön a címzett, kérjük
értesítse a levél küldőjét, és haladéktalanul törölje a levelet.
This e-mail contains confidential business and personal information;
unauthorized use, forwarding, disclosure is prohibited. The content of this
mail should be treated as business confidential. If You are not the
intended recipient, please notify the sender immediately and delete this
e-mail from your system.
2017-11-16 11:23 GMT+01:00 Alex Pierry <alex at teclan.com.br>:
> Hi guys,
>
>
> could anybody give me a step by step of how to compile the ESL project to
> produce a DLL rather than a LIB?
>
> I'm using visual studio community 2017 with the head of version 1.7 of
> Freeswitch.
>
> Compiling as a LIB (project default) is working fine, but I need use it
> with ManagedEsl.dll wrapper inside a C# Project.
>
>
> Thank you in advance.
>
>
>
>
> * Alex Pierry <http://pt.slideshare.net/marketingteclan> *
>
> <http://blog.teclan.com.br/>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171127/243aafd4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 3867 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171127/243aafd4/attachment-0001.jpg>
More information about the FreeSWITCH-users
mailing list