Description
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
- Add a resource of type image.
- Choose the storage for Windows Forms.
- Delete this resource.
- Add this same image again.
(See illustration)
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.