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
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
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.
Hi,
Thank you for your response, i am looking to change project node icon marked with yellow rectangle . it is similar to if i create a android project in visual studio, has a mobile icon on project node.

Thank you.
Hi, @golf89-3129
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.
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.

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
Hi,
Thank you for your response, i am looking to change project node icon marked with yellow rectangle . it is similar to if i create a android project in visual studio, has a mobile icon on project node.

Thank you.
Thank you for update. i was looking to change icon to some web app icon which i could do by changing sdk in csproj file.
Project Sdk="Microsoft.NET.Sdk.Web"
but when i set this i get some extra options in debug label dropdown.
How these option can be removed?
Regards,
6 people are following this question.