Compiling Mono from Visual Studio with sgen support
-
05-03-2021 - |
Question
I have a Mono binary obtained from a build with Visual Studio. The option --gc=sgen used to enable sgen garbage collector is not available:
Error: --gc=<NAME> option not supported on this platform.
How to enable this option ? Is there any define ?
Solution
The sgen GC will be available on windows starting from the next mono releases, 2.11/2.12 (though not necessarily in the VS build).
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow