Skip to content
brandonc edited this page Jul 19, 2011 · 5 revisions

Questions No One Asked

Why do I get the error "An attempt was made to load a program with an incorrect format" when I use MoonShine?

Sundown is a win32 library and you are using a 64 bit machine and have compiled your .NET app using the "Any CPU" option. Change your build configuration to x86. Them's the breaks until sundown is x64 compatible.

Why do I get a DllNotFoundException when I use MoonShine?

MoonShine is a wrapper for a C library called libsundown.dll. Luckily I've included it in the source distribution within the lib directory. Copy it to your app's bin directory or somewhere in your path and try it again.

Clone this wiki locally