[Mono-list] Compile Error (System.Diagnostics.Stopwatch)
Robert Jordan
robertj at gmx.net
Thu Oct 19 13:34:25 EDT 2006
Tim Riley wrote:
> Using: Mono 1.1.18, Windows XP
>
> A buddy of mine wrote a small C# app for testing the speed of text
> reversing
> loops to find which method is most efficient. It compiles fine using .NET
> 2.0 but when I try to compile it using Mono 1.1.18 I get the following two
> errors.
>
> reverse_test_mono.cs(99,16): error CS0246: The type or namespace name
> 'Stopwatch' could not be found. Are you missing a using directive or an
> assembly reference?
> reverse_test_mono.cs(99,44): error CS0246: The type or namespace name
> 'Stopwatch' could not be found. Are you missing a using directive or an
> assembly reference?
>
> I am issuing this command to compile:
> mcs -reference:System reverse_test_mono.cs
Mcs targets the 1.1 profile. Use gmcs instead.
Robert
More information about the Mono-list
mailing list