New resource management is a disaster!

Francesco 46 Reputation points
2024-09-06T09:47:00.53+00:00

I use VS2022, until today everything was fine (or almost), now they updated the resource management and it doesn't work anymore.

I add a png file and it tells me that it must be an icon (or a byte[])!

Before everything was much easier, you just had to drag a file and it created the correct resource, now it's a disaster!

Developer technologies | Visual Studio | Other
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 34,441 Reputation points Microsoft External Staff
    2024-09-06T13:41:33.4466667+00:00

    Hello @Francesco,

    Welcome to Microsoft Q&A forum.

    You can try to right-click the .resx file, select Open With…, choose Managed Resources Editor (Legacy), instead of Resource Explorer(you can also set the legacy Managed Resources Editor as default). After that try to directly drag your png file to the .resx file, it should work like before.

    It’s true that the behavior is different in new Resource Explorer, and the new Resource Explorer is still being improved. I would strongly suggest you submit a feedback ticket on our Developer Community.

    Thank you for helping us make Visual Studio better. Have a nice day.

    Best Regards,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    6 people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.