[MonoDevelop] Missing System.IO.Ports?

Daniel Hughes trampster at gmail.com
Sun Sep 23 21:30:20 UTC 2012


We found that on mono for windows we would lose data. We
didn't investigate this to closely because we use ms .net on windows
anyway.

Once we rewrote our code to not rely on the DataRecievedEvent it worked
fine on mono for linux.

Cheers,
Daniel Hughes

On Mon, Sep 24, 2012 at 1:32 AM, Doug Blank <doug.blank at gmail.com> wrote:

> 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
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20120924/6e0a95c6/attachment.html>


More information about the Monodevelop-list mailing list