dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] Diagnostics and Configuration problems


From: Dominique Canazzi
Subject: [Pnet-developers] Diagnostics and Configuration problems
Date: Wed, 1 Sep 2004 23:39:18 +0200

Hello.

I succesfully built and installed treecc, pnet and pnetlib on my Fedora Core
2 box. I tried the following code:

(conftest.cs)

using System;
using System.Diagnostics;

namespace foo
{
  public class bar
  {
    public static void Main ()
    {
      TraceSwitch sw = new TraceSwitch ("xx", "yy);
      Console.WriteLine (sw.Level);
    }
  }
}

When invoked (cscc conftest.cs -o conftest.exe), the compiler complains
about unknown type 'TraceSwitch".
In order to compile properly, I must invoke 'cscc conftest.exe -o
conftest.exe -lSystem'.
That works, but does not sound very normal.

When running, the program always outputs 'Off', ignoring the content of
conftest.exe.config

I'm very new to DotGnu, so I probably missed something evident.

Has anyone an idea? Is it a known problem?

Thanks in advance,

-- dominique canazzi.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]