Downloaded CKAN.exe today, typed mono ckan.exe and got the following output:
Missing method EnableVisualStyles in assembly /home/ben/Downloads/ckan.exe, type System.Windows.Forms.Application
Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
at CKAN.CmdLine.MainClass.Gui () [0x00000] in <filename unknown>:0
at CKAN.CmdLine.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
at CKAN.CmdLine.MainClass.Gui () [0x00000] in <filename unknown>:0
at CKAN.CmdLine.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0
Any ideas?
A similar issue was resolved in chat just now. Can you try installing mono-complete either by the software centre or via "sudo apt-get install mono-complete" in a terminal.
This fixes the problem. Thank you.
Most helpful comment
A similar issue was resolved in chat just now. Can you try installing mono-complete either by the software centre or via "sudo apt-get install mono-complete" in a terminal.