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

Related Questions

I have used Visual Studio Professional 2008, and have been testing the free C#
I have been having some trouble working with inner joins I guess: select count(distinct
I have a general exception handler, Application_error in my global.asax where I'm trying to
The general problem: We have urls coming to our IIS web servers formatted like:
I have to give a general note to some huge Java project for which
I have a MySQL table with utf8 general ci collation. In the table, I
In general, I occasionally have a chain of nested macros with a few preprocessor
I have always wondered if, in general, declaring a throw-away variable before a loop,
In general, is it a best practice to have simple POJO Java classes implement
I have some code that generates image of a pie chart. It's a general

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.