Using environment variables in Monodevelop with MonoTouch

I tried to integrate with SGen garbage collector configurations and, as I saw here , here , and on the mono man page, I have several environment variables to work with.

As shown in this image, I added them to my project (also checked inside csproj), and they are ignored only when my application starts. I got all environment variables using Environment.GetEnvironmentVariables() and there was no MONO_GC_PARAMS or MONO_GC_DEBUG .

So my question is: how to use environment variables in a MonoTouch project?

Project options

Versions
Monotouch 5.2.10 (Rating)
MonoDevelop 2.8.6.5
Mono 2.10.8
Mac OS X 10.6.8

+7
source share
1 answer

MonoDevelop 2.8.6 does not include support for setting environment variables when running MonoTouch projects.

The current beta version of MonoDevelop (2.8.8.3) includes support for environment variables, so you can install the beta version here if you want to try it.

+4
source

All Articles