Welcome to Microsoft Q&A forum.
I’m afraid, there’s no option in visual studio to modify the icon image in Solution Explorer. They are set by default.
I recommend submitting a suggestion ticket on our Developer Community.
If you are working on a Visual Studio extension, and one of this extension’s feature is changing the icon images for each file format in VS Solution Explorer, then I suggest you refer to this similar extension: File Icons(mainly focus on the
manifest file and the
Have a nice day.
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.