Skip to content

System.Drawing.Common is no longer transitively referenced by WPF projects. #11134

@vsfeedback

Description

@vsfeedback

This issue has been moved from a ticket on Developer Community.


[regression] [worked-in:17.14.14]
Consider the following project structure:

  • Project A: References System.Drawing.Common.
  • Project B: References A, uses System.Drawing.Bitmap, UseWPF is set to true.
  • Project C: References A, uses System.Drawing.Bitmap, UseWPF is set to false.

In this case, Project B cannot find System.Drawing.Bitmap and results in a CS1069 error.
Project C has no issues.

Even when checking with NuGet Package Manager, the package is no longer transitively referenced.
VS2022preview.png

In VS2022 17.14.14, this problem does not occur.
VS2022.png

I've attached a sample project where this issue occurs.


Original Comments

Feedback Bot on 9/16/2025, 00:36 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    InvestigateRequires further investigation by the WPF team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions