Skip to content

Unable to add image to resource #1604

Open
@TerryFogg

Description

@TerryFogg

Tool

Visual Studio extension

Description

Visual Studio Extension 2022.12.1.29
Unable to add jpeg image.
The image appears in the UI view of the resource tool but no code is added to the resource class to support it.
Fonts and strings continue to work.
Starting from a new project may allow you to add an image and get the code created, but adding a reference to the resource manager seems to stop it. Further adding causes the visual studio to add a reference to System.Drawing which is incorrect.
Microsoft have added a new resource explorer which appears to be a dogs breakfast of a UI and code, so I guess the bright spark who thought this up decided to change code that breaks exisiting code.,

How to reproduce

No response

Expected behaviour

No response

Screenshots

No response

Aditional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions