You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 13, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 13, 2026. It is now read-only.
CoreLib doesn't implement Environment.GetEnvironmentVariable and friends #6
GetEnvironmentVariable and ExpandEnvironment are implemented like this:
publicstaticStringGetEnvironmentVariable(Stringvariable){if(variable==null)thrownewArgumentNullException("variable");// Environment variable accessors are not approved modern API.// Behave as if the variable was not found in this case.returnnull;}
We might need to at least look at this in terms of the demo.
System.Console uses this for various things. I didn't investigate it now fully, but this did show up at some point when I did the original Hello World ILToCpp bringup. It's possible it was only needed for colors, but I don't remember anymore.
I have a hacked version of this working on windows already. I will finalize it tomorrow and then I'll get the PAL implemented on Linux (we already have a cross plat implementation in CoreCLR for this).
Activity
weshaggard commentedon Oct 9, 2015
Yes that was their implementation for UWP. I agree we need this supported for this scenario. @AlexGhiondea should be able to handle it.
MichalStrehovsky commentedon Oct 28, 2015
We might need to at least look at this in terms of the demo.
System.Console uses this for various things. I didn't investigate it now fully, but this did show up at some point when I did the original Hello World ILToCpp bringup. It's possible it was only needed for colors, but I don't remember anymore.
AlexGhiondea commentedon Oct 28, 2015
I have a hacked version of this working on windows already. I will finalize it tomorrow and then I'll get the PAL implemented on Linux (we already have a cross plat implementation in CoreCLR for this).