[Mono-dev] C# project export to Linux fails - lots of errors

Achim123 Achim.Skuta at googlemail.com
Sat Jun 16 05:53:17 UTC 2012


Hello everyone,

I'm new to Mono and will try to make myself as clear as possible: I've
written a program in C# on Win32 and want to export it to Linux and Mac so
my work mates will be able to use it as well.

*What does it do?*
Most of it is text editor with a few specific things we need at work, so
there are a few buttons that insert text. There's also a video player to
play different file formats like avi, wmv, and mp3. I used the libraries
AxInterop.WMPLib.dll and Interop.WMPLib.dll.

When I try to run the exe file in Linux (12.04, fresh install in VM), I
receive the following output:

http://mono.1490590.n4.nabble.com/file/n4649979/mono_transcriptor.png 

I can't make any sense of all that as this is also my first project
developed in C#. I also thought that this problem might occur because I
merged the exe with the two DLLs to make shipping a bit easier ...
Script used:
"C:\Program Files (x86)\Microsoft\ILMerge\ILMerge.exe" /target:winexe
/targetplatform:"v4,C:\Program Files (x86)\Reference
Assemblies\Microsoft\Framework\.NETFramework\v4.0"
/out:TranscriptorC_res.exe TranscriptorC.exe AxInterop.WMPLib.dll
Interop.WMPLib.dll
... so I also tried the non-merged version which sadly didn't change
anything as far as I can tell.

If you'd like to test it yourself, the project is up on Google Code:
-  http://code.google.com/p/transcriptorc/ Page 
-  http://transcriptorc.googlecode.com/files/TranscriptorC_v1.0.4.exe Direct
Download 

Thank you very much for any help you might come up with. I appreciate it a
lot :-)

Cheers,
Achim

--
View this message in context: http://mono.1490590.n4.nabble.com/C-project-export-to-Linux-fails-lots-of-errors-tp4649979.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list