Re: Mono dependencies besides mono-runtime and libmono-system-windows-forms4.0-cil required to run C# Windows Forms
Frank Chang <[email protected]> Tue, 10 May 2016 08:32:57 -0400
| Newsgroups | gmane.comp.gnome.winforms |
|---|---|
| Message-ID | <CANuJMRpMnJgBMmSKFd-U_5OKaMhZr2iP9WDv0UFzcQuQwJ6-8w@mail.gmail.com> |
--===============1250285867== Content-Type: multipart/alternative; boundary=001a113dee7efb543c05327c1f88 --001a113dee7efb543c05327c1f88 Content-Type: text/plain; charset=UTF-8 I believe the other Mono dependency, GTK# 2.0 , is found by using: 1. strace mono ./Simple.exe 2. mcs -r:System.Windows.Forms.dll -r:System.Drawing.dll -pkg:gtk-sharp-2.0 Simple.cs -out:Simple.exe Package gtk-sharp-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk-sharp-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk-sharp-2.0' found May I ask if that is correct if I add the line using GTK; to Simple.cs? On Tue, May 10, 2016 at 4:47 AM, Frank Chang <[email protected]> wrote: > May I ask what are the other Mono dependencies besides mono-runtime and > libmono-system-windows-forms4.0-cil required to run C# Windows Forms > applications on Ubuntu Linux 16.04? > > Could the answer to this question depend on the C# source code for our > Windows Forms applications? For example, hellboy81 wrote on gitter im mono, > Feb 10 01:46. > > "I have an Issue with WinForms's TreeView control in Mono under Ubuntu 64 > Bit 15.10 (Unity). Items are not selectable and Selection is not visible." > > Would you know if there exists a package update or new package to fix this > problem? > I read on > http://mark-dot-net.blogspot.com/2014/06/running-windows-forms-on-linux-with-mono.html > that "although mono does not support everything in WinForms, you can use > most standard controls" Please interpret this quote. > > Thank you. > > > > _ > --001a113dee7efb543c05327c1f88 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><span class=3D""> I believe the other Mono dependency= , GTK# 2.0 , is found by using: <br></span></div><span class=3D"">1. strace mono ./Simple.exe<br= ></span><div><span class=3D""><br>2. mcs -r:System.Windows.Forms.dll -r:Sys= tem.Drawing.dll=20 -pkg:gtk-sharp-2.0 Simple.cs -out:Simple.exe Package gtk-sharp-2.0 was=20 not found in the pkg-config search path. Perhaps you should add the=20 directory containing `gtk-sharp-2.0.pc' to the PKG_CONFIG_PATH=20 environment variable No package 'gtk-sharp-2.0' found <br><br>May I= ask if that=20 is correct if I add the line using GTK; to Simple.cs?</span></div></div><di= v class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Tue, May 10, 2016= at 4:47 AM, Frank Chang <span dir=3D"ltr"><<a href=3D"mailto:frankchang= [email protected]" target=3D"_blank">[email protected]</a>></span> wrote= :<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-le= ft:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><p>May I ask what are = the other Mono dependencies besides mono-runtime and libmono-system-windows= -forms4.0-cil required to run C# Windows Forms applications on Ubuntu Linux= 16.04? </p><p>=C2=A0Could=C2=A0the answer to this=C2=A0question depend on = the C# source code for our Windows Forms applications? For example, hellboy= 81 wrote on gitter im mono, Feb 10 01:46.</p><blockquote><p>"I have a= n Issue with WinForms's TreeView control in Mono under Ubuntu 64 Bit 1= 5.10 (Unity). Items are not selectable and Selection is not visible."= </p></blockquote><div>Would you know if there exists a package update or ne= w package to fix this problem?</div><div>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 I r= ead on <a href=3D"http://mark-dot-net.blogspot.com/2014/06/running-windows-= forms-on-linux-with-mono.html" rel=3D"nofollow" target=3D"_blank"><font col= or=3D"#0000ff">http://mark-dot-net.blogspot.com/2014/06/running-windows-for= ms-on-linux-with-mono.html</font></a> that "although mono= does not support everything in WinForms, you can use most standard contro= ls" Please interpret this quote.</div><div>=C2=A0</div><div>=C2=A0=C2= =A0=C2=A0=C2=A0 Thank you.</div><div>=C2=A0=C2=A0=C2=A0 </div><span><div></= div><div>=C2=A0</div></span><div>=C2=A0</div><div><div style=3D"width:0px;m= in-height:0px;overflow:hidden"><a name=3D"m_-493037404236057162_initial">_<= /a></div></div><div> </div><div></div></div> </blockquote></div><br></div> --001a113dee7efb543c05327c1f88-- --===============1250285867== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list --===============1250285867==--