Try installing Mono version 5.18.1 (not the latest). I had problems with Mac. OS. installed this and no problems any more. I assume it will work for Windows as well.
Index of /archive/5.18.1/macos-10-universal
Index of /archive/5.18.1/macos-10-universal