REM https://www.mono-project.com/download/stable/#download-win
REM GTK# for .NET is available only for Windows 32-bit, and that is the reason why sample project of "NIST library" is not available for Windows 64-bit

REM Compile the program using command:
mcs -out:nist_demo.exe -r:"C:\Program Files\GtkSharp\2.12\lib\gtk-sharp-2.0\gtk-sharp.dll" -r:"C:\Program Files\GtkSharp\2.12\lib\gtk-sharp-2.0\glib-sharp.dll" -r:"C:\Program Files\GtkSharp\2.12\lib\gtk-sharp-2.0\atk-sharp.dll" -r:"C:\Program Files\GtkSharp\2.12\lib\gtk-sharp-2.0\gdk-sharp.dll" nist_demo.cs
REM Log various messages to stdout
REM set MONO_LOG_LEVEL=debug
REM set MONO_PATH=C:\Program Files\GtkSharp\2.12\lib\gtk-sharp-2.0;C:\Program Files\GtkSharp\2.12\bin;C:\Program Files\Mono\bin
REM mono --config nist_demo.exe.config nist_demo.exe
REM Run EXE file using command: 
mono nist_demo.exe

REM mkbundle has a bug: mkbundle fails to work when directory name contains spaces.
REM Bug workaround: create symbolic link directories in which directory names are without spaces.

REM https://www.mono-project.com/docs/tools+libraries/tools/mkbundle/
REM Create directory
REM C:\MonoLinks
REM Go to directory C:\MonoLinks
REM Open the Command Prompt as Administrator (in Windows 7 Start menu -> (in search box, type) cmd -> Right click on search result and choose Run as Administrator)
REM mklink /d GtkSharp "C:\Program Files\GtkSharp\2.12\lib\gtk-sharp-2.0\"
REM symbolic link created for GtkSharp <<===>> C:\Program Files\GtkSharp\2.12\lib\gtk-sharp-2.0\

REM Go to directory C:\MonoLinks
REM mklink /d Mono "C:\Program Files\Mono\etc\mono"
REM symbolic link created for Mono <<===>> C:\Program Files\Mono\etc\mono

REM Create native EXE file using command:
REM mkbundle -o nist_demo_native.exe -L C:\MonoLinks\GtkSharp --simple nist_demo.exe --machine-config C:\MonoLinks\Mono\4.5\machine.config
REM run native EXE file using command: 
REM nist_demo_native.exe
