How do I install mono's System.Windows.Forms on Ubuntu?

26,054

Solution 1

So you're looking for a package containing a file called System.Windows.Forms.dll. You can search:

Both methods lead you to (as of Ubuntu 14.04):

Install it with:

sudo apt-get install libmono-system-windows-forms4.0-cil

Solution 2

Open Synaptic and search for System.Windows.Forms and select libmono-winforms2.0-cil or libmono-winforms1.0-cil and then apply.

(optional) You might need to install System.Runtime package as well. just search for that and install libmono-system-runtime2.0-cil or libmono-system-runtime1.0-cil

Solution 3

Found it via this link:

% apt-get install libmono-winforms1.0-cil libmono-winforms2.0-cil
Share:
26,054

Related videos on Youtube

ripper234
Author by

ripper234

See blog or LinkedIn Profile

Updated on September 18, 2022

Comments

  • ripper234
    ripper234 over 1 year

    I haven't found any concise explanation of this.

    • mishmish
      mishmish almost 8 years
      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? Thank you.
  • mishmish
    mishmish almost 8 years
    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? Thank you.
  • remcycles
    remcycles almost 6 years
    +1 for teaching me how to fish.