You cannot do it within VS itself. If you look at the File Icons extension that Mads created you can see that the file associations are stored in the (now virtual) registry under ShellFileAsssocations
. If you wanted to change the icons you'd need to create your own extension and set up the new icons. Note however that it is possible that another extension (or VS) may overwrite your options in the future since last person wins.
Solution/File Icons in Visual Studio 2022
Tomáš Hejlík
31
Reputation points
Is there a way to change solution/file icons in solution explorer? I would like to make some custom icons, but didnt find on the web how to do it.
Thank you
Developer technologies | Visual Studio | Other
5,457 questions
Accepted answer
-
Michael Taylor 60,336 Reputation points
2022-10-10T19:05:13.923+00:00