[MonoDevelop] Missing System.IO.Ports?

Doug Blank doug.blank at gmail.com
Sun Sep 23 13:32:35 UTC 2012


On Sun, Sep 23, 2012 at 2:18 AM, Daniel Hughes <trampster at gmail.com> wrote:
> The System.IO.Ports namespace is in System.dll
>
> However before you go to far you should be aware that mono does not have an
> implementation for event driven serial. And they have no plans to implement
> it. At my work we had to rewrite our serial layer to work around this. You
> should also be aware that serial coms is known to not work on mono for
> windows.

We have been using Mono, SerialPort from System.IO.Ports, and COM
ports on Windows without problems.

It may be that on older Windows (eg, XP) that we had to prefix the
"COM" with "\\.\" for ports greater than 9.

-Doug

> Best of luck,
> Daniel Hughes
>
>
>
> On Sat, Sep 22, 2012 at 9:46 AM, daviesl5000 <davies-lee at sky.com> wrote:
>>
>> Hi,
>>
>> I'm new to mono (not C#). I tried porting one of my window apps to Linux
>> (Ubuntu) Mono (2.8). However when selecting "Edit Reference" in the
>> project
>> solution I can find all the modules required by project except
>> Serial.IO.Ports?
>>
>> Is there something required in Linux in addition to the IDE to add
>> Serial.IO.Port support?
>>
>> Many thanks,
>>
>> Lee
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://mono.1490590.n4.nabble.com/Missing-System-IO-Ports-tp4656727.html
>> Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
>> _______________________________________________
>> Monodevelop-list mailing list
>> Monodevelop-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>


More information about the Monodevelop-list mailing list