Modifying the icon on the project node in Visual Studio 2019

golf89 1 Reputation point
2021-08-25T12:10:00.7+00:00

I am new to Visual Studio and I would like to know how to modify the icon on the project node in a csproj.
I would like to create a c# project but would like to modify the default c# icon it shows.

Appreciate the help

Developer technologies Visual Studio Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Benjamin Pinter 76 Reputation points
    2021-08-25T19:48:09.813+00:00

    Are you referring to the icon in solution explorer? That is not something that can be set, as it is just meant to show the type of 'file' that the particular node represents.

    If you're referring to a windows form application, there is a property under the window designer that will allow you to set that.


  2. PengGe-MSFT 3,381 Reputation points
    2021-08-26T03:27:06.177+00:00

    Hi, @golf89

    Welcome to Microsoft Q&A!

    If you are referring to the icon of the Solution Explorer, I am afraid that Visual Studio does not provide the option to modify it. I did not find the relevant instructions in the official documentation of Visual Stdio.
    126595-image.png

    I did not find any documents or settings for modifying this icon. If you need this feature, you can click the button in the upper right corner of the Visual Studio interface to suggest this feature.

    126669-image.png

    • Update:
      I have already suggested adding this new feature in the Developer Community.

    Sincerely,
    Peng
    *
    If the answer is helpful, please click "Accept Answer" and upvote it.
    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


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.