We're trying to get our C# program to work on linux. We just loaded into Mono, and it compiles fine but the form doesn't appear. Anyone know what? Does it have something to do with it being a "windows form"?
Duki 552 Nearly a Posting Virtuoso
Recommended Answers
Jump to PostI have gotten Windows Forms to work under mono before.
Are you using any of the winapi as well?
Take a look at the mono migration analyzer, it should most likely tell you what could be wrong.
Jump to PostCompile errors?
I thought your first post said you didn't get any compile errors. Are you getting any error or just the form doesn't show up?
Jump to PostFeel free to post the errors if you need assistance with them.
Once it is all straightened out with them, let me know what the result is on mono.
Jump to PostThink it might be an issue with the encoding
try changing a line of code on the linux machine and resaving
i don't think it is properly reading the utf(i think) encoding
Jump to Postsee if you can download a package called dos2unix
depending upon what distro you are on, you can do something like this
apt-get install dos2unixyou can run it to convert your windows files in to linux encoded
it seems like it can't read the files properly
All 19 Replies
dickersonka 104 Veteran Poster
LizR 171 Posting Virtuoso
Duki 552 Nearly a Posting Virtuoso
dickersonka 104 Veteran Poster
Duki 552 Nearly a Posting Virtuoso
dickersonka 104 Veteran Poster
Duki 552 Nearly a Posting Virtuoso
LizR 171 Posting Virtuoso
Duki 552 Nearly a Posting Virtuoso
LizR 171 Posting Virtuoso
Duki 552 Nearly a Posting Virtuoso
dickersonka 104 Veteran Poster
LizR 171 Posting Virtuoso
Duki 552 Nearly a Posting Virtuoso
LizR 171 Posting Virtuoso
Duki 552 Nearly a Posting Virtuoso
dickersonka 104 Veteran Poster
LizR 171 Posting Virtuoso
Duki 552 Nearly a Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.