Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to extract visual studio project template icons?

Visual Studio template has a parameter icon to display in create project dialog. It's described as

<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Project">
<TemplateData>
 <Name Package="{AAFFDC1E-A1C7-47bc-B3DC-9E685DF3959B}" ID="202" />
 <Description Package="{AAFFDC1E-A1C7-47bc-B3DC-9E685DF3959B}" ID="203" />
 <TemplateID>Microsoft.CSharp.ActivityDesignerLibrary</TemplateID>
 <Icon Package="{b3bae735-386c-4030-8329-ef48eeda4036}" ID="4600" />

So what mean

Package="{b3bae735-386c-4030-8329-ef48eeda4036}" ID="4600"

What is package and id ? How to create BitmapSource from it ?

like image 388
Json76 Avatar asked Sep 17 '25 09:09

Json76


1 Answers

For Visual Studio 2015, the CSharp project templates icons are located in ...\Microsoft Visual Studio 14.0\VC#\VCSPackages\csproj.dll enter image description here

For reference, the Visual Basic template icons are located in ...\Microsoft Visual Studio 14.0\VB\Bin\msvbprj.dll enter image description here

This is not comprehensive. For example, notice that the WPF package icons are not shown. I am Still reviewing. The icon ID 4600 is shown in the CSharp package, if this is the one you want.

like image 133
Marty Avatar answered Sep 19 '25 23:09

Marty