-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.IO.Ports.SerialPort has no IntelliSense documentation #79030
Comments
Tagging subscribers to this area: @dotnet/area-system-io Issue DetailsDescriptionThe SerialPort class and its members are completely undocumented within Visual Studio. Reproduction Steps
Expected behaviorSome documentation Actual behaviorNo documentation Regression?No response Known WorkaroundsProbably some information can be found online Configuration.NET 6.0 project, .NET 7.0 package, VS 2022 17.4.1 on Windows 10 x64 Other informationOther inline documentation works great, from within the project and from other packages and the BCL
|
I confirm there is no intellisense data. I'm also not seeing XML docs in the code... cc: @carlossanlop |
Per offline conversation with @carlossanlop that should work and we should be picking up xml docs from dotnet-api-docs. For some reason that's not happening. We should aim to fix this in 8.0 timeline. |
@carlossanlop you mentioned offline this might be already fixed by unrelated PR of yours. Can you confirm? |
I checked, and the System.IO.Ports assembly uses both |
I tested the System.IO.Ports package in VS, and noticed that IntelliSense was still working in nuget package version This probably happened due to some refactoring changes in our infrastructure. I'm unsure about the dates (because we were snapping RC1/RC2), but I tentatively found #58558 and #58011 as potential suspects. Other suspects are 9722a6a , 21e340d and 85441ce. The current logic is broken for two scenarios: When the assembly generates "PlatformNotSupportedException", or when the assembly is a partial facade assembly. Unfortunately for System.IO.Ports, it enables both properties. This is how we decide which intellisense xml we should ship to customers:
So the next step is to figure out if it is possible to overwrite the xml generated by System.IO.Ports (and other OOB assemblies with a similar issue) with the dotnet-api-docs xml. There's a chance that this is another symptom of either the PNSE or the Partial Facades problem, which are not trivial to solve. |
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries Issue DetailsDescriptionThe SerialPort class and its members are completely undocumented within Visual Studio. Reproduction Steps
Expected behaviorSome documentation Actual behaviorNo documentation Regression?No response Known WorkaroundsProbably some information can be found online Configuration.NET 6.0 project, .NET 7.0 package, VS 2022 17.4.1 on Windows 10 x64 Other informationOther inline documentation works great, from within the project and from other packages and the BCL
|
We have fixed the underlying issue affecting OOB packages:
The next time any of these affected OOB packages gets a servicing fix and we enable it for building, the intellisense xml will contain the full docs as expected. |
Description
The SerialPort class and its members are completely undocumented within Visual Studio.
Reproduction Steps
Expected behavior
Some documentation
Actual behavior
No documentation
Regression?
No response
Known Workarounds
Probably some information can be found online
Configuration
.NET 6.0 project, .NET 7.0 package, VS 2022 17.4.1 on Windows 10 x64
Other information
Other inline documentation works great, from within the project and from other packages and the BCL
The text was updated successfully, but these errors were encountered: