Fail to run a .NET 2.0 application with mono 2.6.7
Solution 1
I've fixed the program for Linux and Mac OS X. Please download the latest version from the project page.
Solution 2
The application is looking for the 'System.Windows.Forms' assembly, which is in the package libmono-winforms2.0-cil.
If you want to install all of mono & its dependencies, you can install mono-complete.
Solution 3
HandyOutliner will only work properly on Windows. This program uses Windows-specific functions through P/Invoke. (Detecting text encoding). These functions are not supported in Linux.
I will try to adapt the project for Linux / Mono. Thank you for your feedback.
Related videos on Youtube
Tim
Elitists are oppressive, anti-intellectual, ultra-conservative, and cancerous to the society, environment, and humanity. Please help make Stack Exchange a better place. Expose elite supremacy, elitist brutality, and moderation injustice to https://stackoverflow.com/contact (complicit community managers), in comments, to meta, outside Stack Exchange, and by legal actions. Push back and don't let them normalize their behaviors. Changes always happen from the bottom up. Thank you very much! Just a curious self learner. Almost always upvote replies. Thanks for enlightenment! Meanwhile, Corruption and abuses have been rampantly coming from elitists. Supportive comments have been removed and attacks are kept to control the direction of discourse. Outright vicious comments have been removed only to conceal atrocities. Systematic discrimination has been made into policies. Countless users have been harassed, persecuted, and suffocated. Q&A sites are for everyone to learn and grow, not for elitists to indulge abusive oppression, and cover up for each other. https://softwareengineering.stackexchange.com/posts/419086/revisions https://math.meta.stackexchange.com/q/32539/ (https://i.stack.imgur.com/4knYh.png) and https://math.meta.stackexchange.com/q/32548/ (https://i.stack.imgur.com/9gaZ2.png) https://meta.stackexchange.com/posts/353417/timeline (The moderators defended continuous harassment comments showing no reading and understanding of my post) https://cs.stackexchange.com/posts/125651/timeline (a PLT academic had trouble with the books I am reading and disparaged my self learning posts, and a moderator with long abusive history added more insults.) https://stackoverflow.com/posts/61679659/revisions (homework libels) Much more that have happened.
Updated on September 18, 2022Comments
-
Tim over 1 year
-
Update: After installing mono-complete, there are some warnings:
$ mono HandyOutliner.exe libpng warning: Incorrect sBIT chunk length ** (HandyOutliner.exe:18066): WARNING **: GdipSetPenCustomStartCap isn't implemented ** (HandyOutliner.exe:18066): WARNING **: GdipSetPenCustomEndCap isn't implemented
Also when I try to open the application's samples/sample_toc_1.txt in the bookmark source box, there is an error reported "ole32.dll", which seems to be missing.
I wonder if we can do something to fix them?
Original: I am trying to run handyoutlinerfo (downloadable from http://handyoutlinerfo.sourceforge.net/) on Ubuntu 10.10, but not succeed. I was wondering if there are some suggestions here?
The software's system requirements are:
OS: Win32 NT/XP/7 Platform: .NET Framework 2.0 or above
My mono version is
$ mono --version Mono JIT compiler version 2.6.7 (Debian 2.6.7-3ubuntu1) Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com TLS: __thread GC: Included Boehm (with typed GC and Parallel Mark) SIGSEGV: altstack Notifications: epoll Architecture: x86 Disabled: none
The output error of opening the software in mono is
$ mono HandyOutliner.exe ** (HandyOutliner.exe:12318): WARNING **: The following assembly referenced from /home/tim/Desktop/HandyOutliner_1.1.4.0_bin/HandyOutliner.exe could not be loaded: Assembly: System.Windows.Forms (assemblyref_index=0) Version: 2.0.0.0 Public Key: b77a5c561934e089 The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/home/tim/Desktop/HandyOutliner_1.1.4.0_bin/). ** (HandyOutliner.exe:12318): WARNING **: Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. ** (HandyOutliner.exe:12318): WARNING **: Missing method EnableVisualStyles in assembly /home/tim/Desktop/HandyOutliner_1.1.4.0_bin/HandyOutliner.exe, type System.Windows.Forms.Application Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. File name: 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
-
nilsonneto over 12 yearsvery strange - on natty it has the same mono version - this application starts OK.
-
Tim over 12 yearsI was wondering what files are needed to install mono? I might have missed some.
-
-
Tim over 12 yearsThanks! It works. But now I have some new warnings and errors. Can we fix them?
-
Tim over 12 yearsIt works! Thanks! When running
$ mono HandyOutliner.exe
, I got two warnings :" ** (HandyOutliner.exe:4629): WARNING **: GdipSetPenCustomStartCap isn't implemented ** (HandyOutliner.exe:4629): WARNING **: GdipSetPenCustomEndCap isn't implemented " Does it matter? -
Dan McCrady over 12 yearsI'm also getting the same message. This is a debug message inside Mono, not a error.
-
Melebius over 7 yearsUpdate for 16.04: Use libmono-system-windows-forms4.0-cil Source of the information: unix.stackexchange.com/a/10696/54675