Mono + WinForms

By | 8 Oct 2008

Installation manual: mono-project.com
Forum: UbuntuForums.org

The System.Windows.Forms.dll is contained in the mono-winforms2.0-cil package. The file resides in /usr/lib/mono/2.0/. To make it show up in MonoDevelop, you might have to create a file /usr/lib/pkgconfig/windows-forms.pc with the following contents:

prefix=/usr
exec_prefix=${prefix}
pkglibdir=${exec_prefix}/lib/mono/2.0

Name: System.Windows.Forms
Description: Windows Forms for Mono
Version: 2.0.0.0

Libs: -r:${pkglibdir}/System.Windows.Forms.dll

Afterwards you can add this as a Reference to your project in MonoDevelop.

Leave a Reply

Your email address will not be published. Required fields are marked *

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.