79493421

Date: 2025-03-07 20:53:05
Score: 2.5
Natty:
Report link

Ok, the solution was in this page :

The type name 'SerialPort' could not be found in the namespace 'System.IO.Ports'

citing this page :

https://www.nuget.org/packages/System.IO.Ports/

In VS code I had to open the terminal (menu View/>Terminal) and write the line

dotnet add package System.IO.Ports --version 9.0.2

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Jacques Duflos