Skip to content
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

Unable to add the same resource after deleting it if stored for windows forms. #9593

Open
Perpete opened this issue Nov 17, 2024 · 1 comment
Assignees
Labels
Feature-Resource-Explorer The modern Resource Explorer for editing and managing RESX and RESW files. Triage-Investigate Reviewed and investigation needed by dev team

Comments

@Perpete
Copy link

Perpete commented Nov 17, 2024

Visual Studio Version

17.12.1

Summary

If you delete a resource (Ex: image, file) with a storage for
windows forms, it is impossible to add this same resource again.
The resource does not appear in the list of resources.
For the storage of the resource for WPF, the problem is not present.
Closing and reopening visual studio solves the problem.

Steps to Reproduce

  1. Add a resource of type image.
  2. Choose the storage for Windows Forms.
  3. Delete this resource.
  4. Add this same image again.
    (See illustration)

Image

You can also see that it is not possible to delete the image in the resources folder.
This deletion is also not possible if the resources explorer is closed.
We get error code 32.

I also noticed that deleting a resource for example an image in the resource explorer did not automatically delete the image in the Resources folder of the solution explorer.
Is this planned in this way?

Another remark is the non visibility of the storage type of the resource (Windows forms or WPF) in the columns.
The user can make a wrong selection when adding the resource. Currently, he does not see his storage selection..
If this information was visible, we could perhaps modify it from the column.

Image

@haileymck
Copy link
Contributor

@melytc assigning to take a look

@haileymck haileymck added Triage-Investigate Reviewed and investigation needed by dev team Feature-Resource-Explorer The modern Resource Explorer for editing and managing RESX and RESW files. labels Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature-Resource-Explorer The modern Resource Explorer for editing and managing RESX and RESW files. Triage-Investigate Reviewed and investigation needed by dev team
Projects
None yet
Development

No branches or pull requests

3 participants