icon image modification in visual studio

uiop 0 Reputation points
2023-03-17T21:46:01.92+00:00

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?

.NET
.NET
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
    2023-03-20T06:52:33.5166667+00:00

    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.

    Sincerely,

    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.