[Mono-winforms-list] Mono dependencies besides mono-runtime and libmono-system-windows-forms4.0-cil required to run C# Windows Forms

Frank Chang frankchang91 at gmail.com
Tue May 10 12:32:57 UTC 2016


 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 <frankchang91 at gmail.com> 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.
>
>
>
> _
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20160510/1b007dd0/attachment.html>


More information about the Mono-winforms-list mailing list