A sample app that runs inside mono docker image. It allows us to build and execute .net application using mono.
- Clone this repo
- Make sure Docker is installed and open on your machine
- Execute a command in build-image.sh file, if you're on linux you can do
./build-image.sh
but on windows you might need to copy the command and run it manually. - Execute a command in run-container.sh file. Follow step 3 on how to run in different OS.
- The terminal should put you right in the project folder inside a container.
- To build the code into .exe, run
mcs helloworld.cs
- To run the exe file, run
mono helloworld.exe