Can't find SerialPort in .NETMF 4.1 RRS feed

  • Question

  • Dear all,

    I try to use serialPort with .NETMF 4.1 for build a software with FEZ PAndaII.

    "using System.Threading;
    using System.IO.Ports;

    using Microsoft.SPOT;
    using Microsoft.SPOT.Hardware;
    using Microsoft.SPOT.Hardware.SerialPort; <-THIS DON'T EXIST in Microsoft.SPOT.Hardware and I need to use

    using GHIElectronics.NETMF.FEZ;
    using GHIElectronics.NETMF.Hardware;


    What I must do?

    Thank You very much,


    Sunday, January 4, 2015 9:06 PM


  • Hello,

    After searching on the MSDN, it seems that even the last version SDK does not include the Microsoft.SPOT.Hardware.SerialPort namespace:


    However, there is a class named SerialPort under System.IO.Ports, is it that you are looking for the class?

    By the way, for issues regarding .NET Micro Framework, the .NET Micro Framework forum is more appropriate, the current forum is for .NET Framework Base Classes.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Edited by Fred Bao Wednesday, January 14, 2015 6:23 AM
    • Marked as answer by Fred Bao Wednesday, January 14, 2015 6:23 AM
    Monday, January 5, 2015 8:58 AM