[Mono-list] Mono issue on Ubuntu

Vaibhav Vaingankar vaibhavv at us.ibm.com
Mon Jul 17 10:44:50 UTC 2017


so higher version of mono will support 4.6.2 target? or is there any
specific version of mono?

regards,
Vaibhav Vaingankar



From:	Andres <knocte at gmail.com>
To:	Mono-list at lists.ximian.com
Date:	17-07-17 13:03
Subject:	Re: [Mono-list] Mono issue on Ubuntu
Sent by:	"Mono-list" <mono-list-bounces at lists.dot.net>



The most likely reason for this is that the Mono version that comes
bundled in Ubuntu (4.2.1) doesn't have 4.6.2 support. Change your
project settings to target 4.6.1 instead, and it will compile.

On Monday, July 17, 2017 02:20 PM, Vaibhav Vaingankar wrote:
> 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
>
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.dot.net
> http://lists.dot.net/mailman/listinfo/mono-list
>


_______________________________________________
Mono-list maillist  -  Mono-list at lists.dot.net
http://lists.dot.net/mailman/listinfo/mono-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-list/attachments/20170717/e8d4271a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.dot.net/pipermail/mono-list/attachments/20170717/e8d4271a/attachment-0001.gif>


More information about the Mono-list mailing list