[Mono-list] Environment.GetFolderPath() on fedora core 8

paul paul at all-the-johnsons.co.uk
Tue Jan 15 09:36:32 EST 2008


Hi,

On Sat, 2008-01-12 at 13:57 -0800, Travis Staloch wrote:
> I'm not sure if there are still problems on other platforms, but I've
> tested that
> Environment.GetFolderPath(Environment.SpecialFolders.Desktop) works
> well on fedora 8 with mono 1.2.6, returning a good path
> to /home/user/Desktop.  I had been running mono 1.2.5 and thats when I
> noticed the problem before.  

Is this built from source or using the rpms from Fedora? When I run the
following using 1.2.6 (rawhide RPMS), I get an error!

using System;

public class test
{
  public static void Main()
  {
    Console.WriteLine("{0}",
Environment.GetFolderPath(Environment.SpecialFolders.Desktop));
  }
}

test.cs(7,68): error CS0117: `System.Environment' does not contain a
definition for `SpecialFolders'

TTFN

Paul
Fedora mono packager

-- 
Sie können mich aufreizen und wirklich heiß machen!



More information about the Mono-list mailing list