[Mono-list] Mono issue on Ubuntu

Vaibhav Vaingankar vaibhavv at us.ibm.com
Mon Jul 17 06:20:23 UTC 2017


Hi,

When I compile CSharp code on Ubuntu 16.04 using mono-complete, it failed
to compile with following error

        CSC: error CS0518: The predefined type `System.Object' is not
defined or imported
        CSC: error CS0518: The predefined type `System.ValueType' is not
defined or imported
        CSC: error CS0518: The predefined type `System.Attribute' is not
defined or imported
        CSC: error CS0518: The predefined type `System.Int32' is not
defined or imported
        CSC: error CS0518: The predefined type `System.UInt32' is not
defined or imported
        CSC: error CS0518: The predefined type `System.Int64' is not
defined or imported
        CSC: error CS0518: The predefined type `System.UInt64' is not
defined or imported
        CSC: error CS0518: The predefined type `System.Single' is not
defined or imported
        CSC: error CS0518: The predefined type `System.Double' is not
defined or imported
        CSC: error CS0518: The predefined type `System.Char' is not defined
or imported
        CSC: error CS0518: The predefined type `System.Int16' is not
defined or imported
        CSC: error CS0518: The predefined type `System.Decimal' is not
defined or imported
        CSC: error CS0518: The predefined type `System.Boolean' is not
defined or imported
        CSC: error CS0518: The predefined type `System.SByte' is not
defined or imported
        CSC: error CS0518: The predefined type `System.Byte' is not defined
or imported
        CSC: error CS0518: The predefined type `System.UInt16' is not
defined or imported
        CSC: error CS0518: The predefined type `System.String' is not
defined or imported
        CSC: error CS0518: The predefined type `System.Enum' is not defined
or imported
        CSC: error CS0518: The predefined type `System.Delegate' is not
defined or imported
        CSC: error CS0518: The predefined type `System.MulticastDelegate'
is not defined or imported
        CSC: error CS0518: The predefined type `System.Void' is not defined
or imported
        CSC: error CS0518: The predefined type `System.Array' is not
defined or imported
        CSC: error CS0518: The predefined type `System.Type' is not defined
or imported
        CSC: error CS0518: The predefined type
`System.Collections.IEnumerator' is not defined or imported
        CSC: error CS0518: The predefined type
`System.Collections.IEnumerable' is not defined or imported
        CSC: error CS0518: The predefined type `System.IDisposable' is not
defined or imported
        CSC: error CS0518: The predefined type `System.IntPtr' is not
defined or imported
        CSC: error CS0518: The predefined type `System.UIntPtr' is not
defined or imported
        CSC: error CS0518: The predefined type `System.RuntimeFieldHandle'
is not defined or imported
        CSC: error CS0518: The predefined type `System.RuntimeTypeHandle'
is not defined or imported
        CSC: error CS0518: The predefined type `System.Exception' is not
defined or imported

         0 Warning(s)
         31 Error(s)

any idea why this is so? or something is missing?

Thanks and regards,
Vaibhav Vaingankar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-list/attachments/20170717/c18919df/attachment.html>


More information about the Mono-list mailing list