[Mono-dev] Bug with System.Environment.InternalGetFolderPath found using MVC 2 on Mono SVN

sberryman shaun at golfsigma.com
Fri May 28 18:46:18 EDT 2010


using System;

class Test
{
     static void Main ()
     {
         Console.WriteLine (Environment
             .GetFolderPath(Environment.SpecialFolder.Personal));
     }
}

$ mcs test.cs
$ mono test.exe
/var/www
$


Here are all the env's
$ env
USER=www-data
MAIL=/var/mail/www-data
OLDPWD=/var/www
HOME=/var/www
LOGNAME=www-data
TERM=xterm
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
LANG=en_US.UTF-8
SHELL=/bin/sh
PWD=/home/www-data

-- 
View this message in context: http://mono.1490590.n4.nabble.com/Bug-with-System-Environment-InternalGetFolderPath-found-using-MVC-2-on-Mono-SVN-tp2235027p2235329.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list