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

Rob Wilkens robwilkens at gmail.com
Sun Jun 17 16:44:35 UTC 2012


Sorry for not copying list originally, maybe someone else knows

Copying list now...
 On Jun 17, 2012 12:41 PM, "Achim Skuta" <achim.skuta at googlemail.com> wrote:

> Do you have an idea how I could avoid this problem? I looked around for a
> solution to implement another player than Windows Media Player, but
> couldn't find a proper solution. Xine and Banshee were recommended, but I
> don't have a clue how that should work as I'm really a newbie to C#, so a
> guide or tutorial would be incredibly helpful :-(
>
>
> On 17 June 2012 17:52, Rob Wilkens <robwilkens at gmail.com> wrote:
>
>> Just reading the first line of the exception, it looks like you are using
>> an active x control, which is not part of .net hence not implemented.
>>  On Jun 17, 2012 11:48 AM, "Achim123" <Achim.Skuta at googlemail.com> wrote:
>>
>>> 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.exeDirect
>>> 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.
>>> _______________________________________________
>>> Mono-devel-list mailing list
>>> Mono-devel-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120617/29dd0a13/attachment.html>


More information about the Mono-devel-list mailing list