The standard DLLNotFoundException: "csfml-graphics-2.dll". I thoroughly read through the dllmap tutorial on the mono website and the above *should* work.
Now the only other change I made is to use the name you used in the DllImport sections:
<configuration>
<dllmap dll="csfml-graphics-2" target="libsfml-graphics.2.dylib" />
</configuration>
But that is not working. It doesn't even attempt to load the dylib or dll. I put the dylib file into the same folder as the executable, btw.
Edit: I got somewhere!
I added the config to the sfml-graphics-2.dll file instead and it now looks for the correct dylib file. But now I'm again getting a DllNotFoundException on the dylib file... hmm maybe a misspelling? I'm getting closer.
Edit: impossible.
Mono: DllImport error loading library '/Users/user/code/Engine/Engine/bin/Debug/libsfml-graphics.2.dylib': 'dlopen(/Users/user/code/Engine/Engine/bin/Debug/libsfml-graphics.2.dylib, 9): image not found'.
That is the exact path where the dylib is!! What is going on here!?
Edit:
I realized it was libsfml-graphics.2.0.dylib. I made that change... and still it complains that it doesn't exist.
Okay.. now I have this:
Mono: DllImport unable to load library 'dlopen(libsfml-graphics.2.0.dylib, 9): Library not loaded: @executable_path/../Frameworks/libsfml-window.2.dylib
Referenced from: /Users/user/code/Engine/Engine/bin/Debug/libsfml-graphics.2.0.dylib