I feel this is a very trivial question, but unfortunately I've not been able to find a solution anywhere on the net.
I am doing basic things with serial ports, so I imported System.IO.Ports in order to obtain the basic classes and defining the needed variables.
However, when I try to initialize a SerialPort object assigning it something like
I get the error message
" 'Ports' is not a member of 'MyComputer' "
and indeed, if I type My.Computer. and scroll through the options, I see every other voice (Mouse, Keyboard, Network, etc.) but not Ports.
Is there any component I may install in the solution, in order to have 'Ports' appear under My.Computer?
I am programming a Windows App under .NET 5.0 framework, using Visual Basic.
Thank you in advance for your help