[Mono-list] error CS0246: The namespace `System' can not be found

Kenneth Brubaker kennethbrubaker@hotmail.com
Sat, 11 Jan 2003 19:07:07 -0600


Sure. Ain't much to it. By the way, it builds fine with csc.exe. Note that 
the error is on line one:

E:\Development\ClaveCode\Builds\2003-01-10\Enterprise>call mcs.bat 
/out:..\Build\Mono\Debug\ClaveCode.Enterprise.dll /target:library 
/recurse:*.cs /warnaserror+ /warn:4 /checked+ 
-lib:E:\Development\Download\Mono\mono-1.7\install\lib -reference:corlib.dll

You can run mcs with 'monomcs' on .NET, instead of mono, too.

.\Configuration\ConfigurationDB.cs(1) error CS0246: The namespace `System' 
can not be found (missing assembly reference?)
Compilation failed: 1 error(s), 0 warnings


Listing:
using System;

namespace ClaveCode.Enterprise.Configuration
{

/// <summary>
/// </summary>
/// <remarks>
/// </remarks>
/// <example>
/// </example>
public class ConfigurationDB
{
    #region Private Constructors
    /// <summary>
    /// Do not invoke. This is a utility class.
    /// </summary>
    private ConfigurationDB()
    {
    }
    #endregion Private Constructors
}

}





_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail