Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137399 - Mono doesn't show Windows forms
Summary: Mono doesn't show Windows forms
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-20 11:03 UTC by Christopher Head
Modified: 2008-04-19 07:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Head 2006-06-20 11:03:32 UTC
A simple C# program:

[BEGIN CODE]
using System.Windows.Forms;

internal class CTest {
        private static void Main() {
                MessageBox.Show("Hello World!");
        }
}
[END CODE]

compiled with: $ mcs /r:System.Windows.Forms gtest.cs
gives no output. Running with: $ mono gtest.exe
Gives output:
Mono System.Windows.Forms Assembly [$auto_build_revision$]
then pegs CPU at 100% and nothing happens (I've let it run for minutes on a 2.8GHz Pentium 4). This example is running Mono 1.1.13.6, the ~x86 version. The x86 version does exactly the same thing, though "$auto_build_revision$" is replaced with an actual version number in that version. Also, exactly the same thing happens whether running under a local X server or doing X forwarding by SSH. I have mono, libgdiplus, and wine installed.
Comment 1 skolima 2006-07-10 05:02:59 UTC
Update to a newer mono (try using a build from thiz bugzilla) - 

Mono WindowsForms went through a lot changes recently, and as I recall the .13.x version was mostly unusable.
Comment 2 Peter Johanson (RETIRED) gentoo-dev 2006-07-12 09:24:37 UTC
Yes, please try the mono-1.1.16 that I just commited to portage. Thanks.
Comment 3 Christopher Head 2006-07-20 00:25:17 UTC
Thank you very much, that new version works.