TGUI.Net

Compiling TGUI.Net

Just open the TGUI.Net.sln file from the build directory with MonoDevelop and compile it.
The tguinet.dll file will be created in the lib folder.

Using TGUI.Net

We will start by creating an empty project.

MonoDevelop - Create empty project

Add tguinet.dll to the references, together with your sfml libraries.
(Second image is outdated, you will find different files next to the tguinet.dll)

MonoDevelop - Edit references MonoDevelop - Editing references

Now you should be able to run code that uses TGUI.

Example code Running example code

Mapping dlls to so files

Because SFML.Net is a binding instead of a port, you need to map the CSFML .dll files to corresponding .so files.
Although TGUI.Net is a port and does not require this, it does require opengl which you will have to map.

So next to your executable you will need the following three files (with similar contents) in order to run the executable.

sfmlnet-window-2.dll.config

<configuration>
    <dllmap dll="csfml-window-2" target="/usr/local/lib/libcsfml-window.so.2.1"/>
</configuration>

sfmlnet-graphics-2.dll.config

<configuration>
    <dllmap dll="csfml-window-2" target="/usr/local/lib/libcsfml-window.so.2.1"/>
    <dllmap dll="csfml-graphics-2" target="/usr/local/lib/libcsfml-graphics.so.2.1"/>
</configuration>

Tao.OpenGl.dll.config

<configuration>
    <dllmap dll="opengl32.dll" target="/usr/lib/libGL.so.1.2.0"/>
</configuration>