I'm using VS2022 and wanted to use getportnames().
But I notice when I wrote using that intellisense doesn't come up with the last instance.
I see system.io but Ports doesn't come up. Anyone has an idea why?
I'm using VS2022 and wanted to use getportnames().
But I notice when I wrote using that intellisense doesn't come up with the last instance.
I see system.io but Ports doesn't come up. Anyone has an idea why?
You need the nuget package System.IO.Ports, e.g. in your csproj:
<PackageReference Include="System.IO.Ports" Version="6.0.0" />
You could find it this way: