icon image modification in visual studio

uiop 0 Reputation points

In the visual studio, In the solution explorer, I should change the icon images for each file format. (the images that appear next to each file in the solution explorer For example, the inscription program.cs and a small picture next to it to the left. )

Does anyone know how to do this?

Microsoft Technologies based on the .NET software framework.
858 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,748 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 14,471 Reputation points Microsoft Vendor

    Hello @uiop,

    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 pkgdef file).

    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.