Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 533149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:28:45+00:00 2026-05-13T09:28:45+00:00

In general, I have been having difficulties porting my .NET Windows Forms applications created

  • 0

In general, I have been having difficulties porting my .NET Windows Forms applications created in Visual Studio 2008 to Mono/Linux. The problem is that sometimes, some types of text do not get displayed; where I expect to see text there is just emptiness or illegible marks. On one Ubuntu machine, all the text was displayed correctly except the text in dialog boxes from MessageBox.Show, which looked like tiny illegible black marks. On another Ubuntu machine, that same program worked fine. But then I upgraded that machine from Ubuntu 9.4 to 9.10: now the text of Checkboxes and Labels does not show up, but the text inside Textboxes and Tab labels does show up.

When you are porting an application to Mono/Linux and you have text display difficulties, how do you debug it? What are your general strategies?

Am I missing fonts, and how do I figure out which fonts are missing?

More specifically: I made a small program in Visual Studio that just had a tab control with two tab pages, and a label in each one. It works fine in Visual Studio, but in Mono/Linux the text of the tabs gets displayed while the labels’ text does not get displayed.

I am using Ubuntu 9.10, and I have installed these relevant packages: mono-gmcs libusb-1.0-0-dev mono-2.0-devel libmono-winforms2.0-cil.

Here is the command I used to compile the program:

gmcs -unsafe -debug -target:exe -out:EventTest.exe
./Form1.cs ./Form1.Designer.cs ./Program.cs
-r:/usr/lib/mono/2.0/System.dll
-r:/usr/lib/mono/2.0/System.Core.dll
-r:/usr/lib/mono/2.0/System.Drawing.dll
-r:/usr/lib/mono/2.0/System.Windows.Forms.dll

When I ran it with MONO_LOG_LEVEL=DEBUG, I got several error messages:

(./EventTest.exe:8395): Mono-WARNING **: The request to load the assembly
mscorlib v1.0.5000.0 was remapped to v2.0.0.0
(./EventTest.exe:8395): Mono-WARNING **: The request to load the assembly
System.Windows.Forms v1.0.5000.0 was remapped to v2.0.0.0
(./EventTest.exe:8427): Mono-WARNING **: DllImport unable to load library
'lib/System/Library/Frameworks/Carbon.framework/Versions/Current/Carbon:
cannot open shared object file: No such file or directory'.

Why would it try to load version 1.0 when I explicitly compiled with version 2.0?
Why would it try to load Carbon (isn’t that a Max OS thing?)
I’ll give the whole log if you want to see it.

There was also a log message about not being able to find “libgdi32”. I add a symbolic link using the command below, and that removed the error message but didn’t seem to affect the application’s other problems.

sudo ln -s /usr/lib/wine/gdi32.dll.so /usr/lib/libgdi32.so
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T09:28:45+00:00Added an answer on May 13, 2026 at 9:28 am

    There seems to be problems with the video drivers shipped with ubuntu 9.10.

    More information is here:
    https://bugzilla.novell.com/show_bug.cgi?id=549882

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 353k
  • Answers 353k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Have you tried set_size_request? http://library.gnome.org/devel/pygtk/stable/class-gtkwidget.html#method-gtkwidget--set-size-request button = gtk.Button("text on button")… May 14, 2026 at 7:48 am
  • Editorial Team
    Editorial Team added an answer In CSS2, the font-size property does not allow a value… May 14, 2026 at 7:48 am
  • Editorial Team
    Editorial Team added an answer I'll replace "the Rails approach" in your question with "the… May 14, 2026 at 7:48 am

Related Questions

Can anyone direct me to a smallish C# application that would be symbolic of
I am having to use triggers in MSSQL for the first time, well triggers
I have been tasked with creating a reusable process for our Finance Dept to
I am currently refining my design process for developing websites, scripts, and web-based applications.
Hopefully, this question isn't a dumb as I fear it sounds, but it may

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.