Louis Boux
Louis Boux

Reputation: 1238

Using environment variables in Monodevelop with MonoTouch

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?

Project Options

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

Upvotes: 7

Views: 2321

Answers (1)

Rolf Bjarne Kvinge
Rolf Bjarne Kvinge

Reputation: 19335

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.

Upvotes: 4

Related Questions