System.Drawing.Common xml docs limited after .NET 6.0
See original GitHub issue @JeremyKuhne
Yes, the absence of a README is certainly unfortunate, but there is a much more significant issue - the lack of documentation (hints in Visual Studio) for most elements from System.Drawing.Common:
I quickly checked the NuGet packages and found that starting from Net6, the XML file has been significantly slimmed down:
The line from the V.S. screenshot above ("T:System.Drawing.Drawing2D.GraphicsPath") is only present in version 4.70:
_Originally posted by @kirsan31 in https://github.com/dotnet/winforms/issues/9729#issuecomment-1681843321_
Issue Analytics
- State:
- Created a month ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
System.Drawing.Common only supported on Windows - .NET
Learn about the .NET 6 breaking change where the System.Drawing.Common package is no longer supported on non-Windows operating systems.
Read more >Remove System.Drawing.Common dependency #1805
ClosedXML is using System.Drawing for working with XLPicture. System.Drawing.Common is dead and buried, since NET6, it only works on Windows ...
Read more >NET 6 System.Drawing.Common Runtime Switch
The following worked for me. Adding the following line to the .csproj file in a PropertyGroup section:
Read more >System.Drawing.Common config switch removed - .NET
Prior to .NET 6, using the System.Drawing.Common package did not produce any compile-time warnings, and no run-time exceptions were thrown.
Read more >System.Drawing.Common 6.0.0
Provides access to GDI+ graphics functionality. Commonly Used Types: System.Drawing.Bitmap System.Drawing.BitmapData System.Drawing.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

System.Drawing.Common uses the intellisense package as the rest of the winforms repository: https://github.com/dotnet/winforms/blob/89f89590ddb6910cc1605ba430b5b72f3ed54fab/src/System.Drawing.Common/src/packaging.targets#L111-L117
The lookup path is here: https://github.com/dotnet/winforms/blob/89f89590ddb6910cc1605ba430b5b72f3ed54fab/eng/packageContent.targets#L6
System.Drawing.Common.xml exists under that path meaning that System.Drawing.Common in winforms should use the “correct” documentation intellisense XML file. All that said, ideally winforms would switch over to compiler generated XML files in the future.
@kirsan31 Can you validate that you see the “better” IntelliSense in 8.0?