Re: Mono issue on Ubuntu
"Vaibhav Vaingankar" <[email protected]> Mon, 17 Jul 2017 16:14:50 +0530
| Newsgroups | gmane.comp.gnome.mono.general |
|---|---|
| Message-ID | <OFB4C38E1C.05C2003F-ON00258160.003ADA01-65258160.003B0990@notes.na.collabserv.com> |
--===============8656334630115406260== Content-type: multipart/related; Boundary="0__=8FBB0BF3DFA95C918f9e8a93df938690918c8FBB0BF3DFA95C91" --0__=8FBB0BF3DFA95C918f9e8a93df938690918c8FBB0BF3DFA95C91 Content-type: multipart/alternative; Boundary="1__=8FBB0BF3DFA95C918f9e8a93df938690918c8FBB0BF3DFA95C91" --1__=8FBB0BF3DFA95C918f9e8a93df938690918c8FBB0BF3DFA95C91 Content-Transfer-Encoding: quoted-printable Content-type: text/plain; charset=US-ASCII so higher version of mono will support 4.6.2 target? or is there any specific version of mono? regards, Vaibhav Vaingankar From: Andres <[email protected]> To: [email protected] Date: 17-07-17 13:03 Subject: Re: [Mono-list] Mono issue on Ubuntu Sent by: "Mono-list" <[email protected]> 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 > > > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > Mono-list maillist - [email protected] > http://lists.dot.net/mailman/listinfo/mono-list > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Mono-list maillist - [email protected] http://lists.dot.net/mailman/listinfo/mono-list --1__=8FBB0BF3DFA95C918f9e8a93df938690918c8FBB0BF3DFA95C91 Content-Transfer-Encoding: quoted-printable Content-type: text/html; charset=US-ASCII Content-Disposition: inline <html><body><p><font size=3D"2">so higher version of mono will support 4.6.= 2 target? or is there any specific version of mono?</font><br><br><font siz= e=3D"2">regards,</font><br><font size=3D"2">Vaibhav Vaingankar</font><br><b= r><img width=3D"16" height=3D"16" src=3D"cid:1=5F=5F=3D8FBB0BF3DFA95C918f9e= 8a93df938690918c8FB@" border=3D"0" alt=3D"Inactive hide details for Andres = ---17-07-2017 13:03:50---The most likely reason for this is that the Mono v= ersion that comes "><font size=3D"2" color=3D"#424282">Andres ---17-07-201= 7 13:03:50---The most likely reason for this is that the Mono version that = comes bundled in Ubuntu (4.2.1) doesn</font><br><br><font size=3D"2" color= =3D"#5F5F5F">From: </font><font size=3D"2">Andres <[email protected]= om></font><br><font size=3D"2" color=3D"#5F5F5F">To: </font><font= size=3D"2">[email protected]</font><br><font size=3D"2" color=3D"= #5F5F5F">Date: </font><font size=3D"2">17-07-17 13:03</font><br><fon= t size=3D"2" color=3D"#5F5F5F">Subject: </font><font size=3D"2">Re: = [Mono-list] Mono issue on Ubuntu</font><br><font size=3D"2" color=3D"#5F5F5= F">Sent by: </font><font size=3D"2">"Mono-list" <mono-l= [email protected]></font><br><hr width=3D"100%" size=3D"2" align= =3D"left" noshade style=3D"color:#8091A5; "><br><br><br><tt><font size=3D"2= ">The most likely reason for this is that the Mono version that comes <br>b= undled in Ubuntu (4.2.1) doesn't have 4.6.2 support. Change your <br>projec= t settings to target 4.6.1 instead, and it will compile.<br><br>On Monday, = July 17, 2017 02:20 PM, Vaibhav Vaingankar wrote:<br>> Hi,<br>> <br>&= gt; When I compile CSharp code on Ubuntu 16.04 using mono-complete, it <br>= > failed to compile with following error<br>> <br>> CSC: error CS0= 518: The predefined type `System.Object' is not defined or <br>> importe= d<br>> CSC: error CS0518: The predefined type `System.ValueType' is not = defined <br>> or imported<br>> CSC: error CS0518: The predefined type= `System.Attribute' is not defined <br>> or imported<br>> CSC: error = CS0518: The predefined type `System.Int32' is not defined or <br>> impor= ted<br>> CSC: error CS0518: The predefined type `System.UInt32' is not d= efined or <br>> imported<br>> CSC: error CS0518: The predefined type = `System.Int64' is not defined or <br>> imported<br>> CSC: error CS051= 8: The predefined type `System.UInt64' is not defined or <br>> imported<= br>> CSC: error CS0518: The predefined type `System.Single' is not defin= ed or <br>> imported<br>> CSC: error CS0518: The predefined type `Sys= tem.Double' is not defined or <br>> imported<br>> CSC: error CS0518: = The predefined type `System.Char' is not defined or <br>> imported<br>&g= t; CSC: error CS0518: The predefined type `System.Int16' is not defined or = <br>> imported<br>> CSC: error CS0518: The predefined type `System.De= cimal' is not defined <br>> or imported<br>> CSC: error CS0518: The p= redefined type `System.Boolean' is not defined <br>> or imported<br>>= CSC: error CS0518: The predefined type `System.SByte' is not defined or <b= r>> imported<br>> CSC: error CS0518: The predefined type `System.Byte= ' is not defined or <br>> imported<br>> CSC: error CS0518: The predef= ined type `System.UInt16' is not defined or <br>> imported<br>> CSC: = error CS0518: The predefined type `System.String' is not defined or <br>>= ; imported<br>> CSC: error CS0518: The predefined type `System.Enum' is = not defined or <br>> imported<br>> CSC: error CS0518: The predefined = type `System.Delegate' is not defined <br>> or imported<br>> CSC: err= or CS0518: The predefined type `System.MulticastDelegate' is not <br>> d= efined or imported<br>> CSC: error CS0518: The predefined type `System.V= oid' is not defined or <br>> imported<br>> CSC: error CS0518: The pre= defined type `System.Array' is not defined or <br>> imported<br>> CSC= : error CS0518: The predefined type `System.Type' is not defined or <br>>= ; imported<br>> CSC: error CS0518: The predefined type `System.Collectio= ns.IEnumerator' <br>> is not defined or imported<br>> CSC: error CS05= 18: The predefined type `System.Collections.IEnumerable' <br>> is not de= fined or imported<br>> CSC: error CS0518: The predefined type `System.ID= isposable' is not <br>> defined or imported<br>> CSC: error CS0518: T= he predefined type `System.IntPtr' is not defined or <br>> imported<br>&= gt; CSC: error CS0518: The predefined type `System.UIntPtr' is not defined = <br>> or imported<br>> CSC: error CS0518: The predefined type `System= .RuntimeFieldHandle' is <br>> not defined or imported<br>> CSC: error= CS0518: The predefined type `System.RuntimeTypeHandle' is not <br>> def= ined or imported<br>> CSC: error CS0518: The predefined type `System.Exc= eption' is not defined <br>> or imported<br>> <br>> 0 Warning(s)<b= r>> 31 Error(s)<br>> <br>> any idea why this is so? or something i= s missing?<br>> <br>> Thanks and regards,<br>> Vaibhav Vaingankar<= br>> <br>> <br>> =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F<br>> Mono-list maillist - Mono-list@lists= .dot.net<br>> </font></tt><tt><font size=3D"2"><a href=3D"http://lists.d= ot.net/mailman/listinfo/mono-list">http://lists.dot.net/mailman/listinfo/mo= no-list</a></font></tt><tt><font size=3D"2"><br>> <br><br><br>=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F<br>Mono-list mail= list - [email protected]<br></font></tt><tt><font size=3D= "2"><a href=3D"http://lists.dot.net/mailman/listinfo/mono-list">http://list= s.dot.net/mailman/listinfo/mono-list</a></font></tt><tt><font size=3D"2"><b= r></font></tt><br><BR> </body></html> --1__=8FBB0BF3DFA95C918f9e8a93df938690918c8FBB0BF3DFA95C91-- --0__=8FBB0BF3DFA95C918f9e8a93df938690918c8FBB0BF3DFA95C91 Content-type: image/gif; name="graycol.gif" Content-Disposition: inline; filename="graycol.gif" Content-ID: <1__=8FBB0BF3DFA95C918f9e8a93df938690918c8FB@> Content-Transfer-Encoding: base64 R0lGODlhEAAQAKECAMzMzAAAAP///wAAACH5BAEAAAIALAAAAAAQABAAAAIXlI+py+0PopwxUbpu ZRfKZ2zgSJbmSRYAIf4fT3B0aW1pemVkIGJ5IFVsZWFkIFNtYXJ0U2F2ZXIhAAA7 --0__=8FBB0BF3DFA95C918f9e8a93df938690918c8FBB0BF3DFA95C91-- --===============8656334630115406260== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTW9uby1saXN0 IG1haWxsaXN0ICAtICBNb25vLWxpc3RAbGlzdHMuZG90Lm5ldApodHRwOi8vbGlzdHMuZG90Lm5l dC9tYWlsbWFuL2xpc3RpbmZvL21vbm8tbGlzdAo= --===============8656334630115406260==--