Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-21-2007, 08:33 AM   #1
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Rep: Reputation: 31
Portability issues of .NET applications from Windows to Linux

Hi everybody,

First of all, there was a similar thread on running .NET applications on Linux, but I did not find any interesting points or the solution to my problem. So, I hae started this thread.

My problem:

I had developed a .NET application on windows 2 years ago. The application is a "windows-forms" based application. I have installed mono Mono after reading the article. But, the application source code is not small and is not in a single file, as expected. Now, how do I run it on my Debian? I need help to do so. Please suggest me if you have any.

I tried to run it as given in the article. The output that I got is:

# ls
# mono DATA\ MINING\ TOOL.exe

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for <Module> ---> System.DllNotFoundException: msvcm80d.dll
at (wrapper managed-to-native) <Module>:<CrtImplementationDetails>.ThrowModuleLoadException (string,System.Exception)
at <Module>.<CrtImplementationDetails>.LanguageSupport.Initialize (<CrtImplementationDetails>.LanguageSupport* ) [0x00000]
at <Module>..cctor () [0x00000] --- End of inner exception stack trace ---

Also, does mono provide a single compiler for C++, C# etc?

Deepak B M
Old 12-22-2007, 08:43 PM   #2
Registered: Oct 2001
Location: Brockport, NY
Distribution: Kubuntu
Posts: 384

Rep: Reputation: 31
Originally Posted by deepumnit View Post
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for <Module> ---> System.DllNotFoundException: msvcm80d.dll
Looks like your program is linking to the Microsoft C++ runtime. I don't think that's gonna work on Linux, for obvious reasons. You'll probably have to modify the program to remove that dependency.

As for compilers, Mono does not yet have a C++ compiler. Apparently there are some issues with trying to run managed C++ code built with the Microsoft compiler, but it can work in some cases.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Portability Linux/BSD/Windows introuble Programming 22 12-23-2006 04:00 PM
LXer: Running .Net applications on Linux with Mono LXer Syndicated Linux News 0 04-26-2006 03:54 PM
Portability Issues with linux kernel meetsagittarian Programming 2 03-02-2006 09:16 AM
Mono code portability to Windows lant Programming 1 11-24-2005 02:49 AM
portability linux to Windows. SOS nephele101 Programming 4 06-10-2003 11:57 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration