I've been trying to mess around with the SGen garbage collector's configurations and as I've seen here, here, and in the mono man page, I've got a few environment variables to work with.
As shown in this image, I added them to my project (checked inside the csproj too), and they only get ignored when i run my app. I got all my environment variables using Environment.GetEnvironmentVariables()
and neither MONO_GC_PARAMS
or MONO_GC_DEBUG
were there.
So my question is how do I use environment variables in a MonoTouch project?
Versions
Monotouch 5.2.10 (Evaluation)
MonoDevelop 2.8.6.5
Mono 2.10.8
Mac OS X 10.6.8
MonoDevelop 2.8.6 does not include support for setting environment variables when executing MonoTouch projects.
The current MonoDevelop beta version (2.8.8.3) does include support for environment variables, so you can install the beta from here if you want to try it out.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With