Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Condense all DLLmaps onto one .config  (Read 2868 times)

0 Members and 1 Guest are viewing this topic.

Rydra

  • Newbie
  • *
  • Posts: 4
    • View Profile
Condense all DLLmaps onto one .config
« on: October 26, 2013, 01:16:58 pm »
Hello there,

I'm developing my very first game with SFML.Net (cause I'm used to that framework). As I develop with mono under Linux, I struggled at first with how to bind the .net dlls with the Linux CSFML counterparts, and I arrived to a working solution which consists on creating a .config file for every dll with the same name as that DLL.

For instance:

sfmlnet-audio-2.dll is placed with a sfmlnet-audio-2.dll.config file which contains the following code:

Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <dllmap dll="csfml-audio-2" target="libcsfml-audio.so.2"/>
</configuration>

sfmlnet-graphics-2.dll is placed with a sfmlnet-audio-2.dll.config file which contains the following code:

Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <dllmap dll="csfml-graphics-2" target="libcsfml-graphics.so.2"/>
</configuration>

sfmlnet-window-2.dll is placed with a sfmlnet-window-2.dll.config file which contains the following code:

Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <dllmap dll="csfml-window-2" target="libcsfml-window.so.2"/>
</configuration>

My question is: is there any easy way to integrate all three configs into a single one? I tried with app.config without success.

Greetings

 

anything