Getting Started with Adobe After Effects - Part 6: Motion Blur


Upload Image Close it
Select File

Abhijit works at Microsoft as a .NET Consultant. He is a former Microsoft ASP.NET MVP, Code Project MVP and a Microsoft Certified Technology Specialist on Web Development.
Browse by Tags · View All
BRH 18
ASP.NET 17
.NET 15
#ASP.NET 10
#DOTNET 10
Visual Studio 10
.NET 4.0 6
ASP.NET 4.0 5
VS2010 5
Visual Studio 2010 4

Archive · View All
April 2011 8
May 2011 4
March 2011 4
June 2011 3
February 2011 1

Customizing Visual Studio Extension Icon in Visual Studio 2010

May 2 2011 12:00AM by Abhijit Jana   

If you have deal with Visual Studio Extension ( VSIX) , you must have seen, after the extension installation default icons are predefined ( As shown in below image ). In this post I am going to describe how you can customize /change the default visual studio extension  icon and can provide your own icon over there. 

image

Before looking into how we can change the icon, first have a quick look how this command customization works. Once you create a new Extension Project, Move to Solution Explorer, Open the .VSCT file as highlighted in below. This .VSCT file is defines  the actual layout and type of the commands.  It is divided in different sections (e.g. command definition, command placement, …), with each defining a specific set of properties.  If you want to customize any of the section where you want to place you extension, you have to change this file.

image

Open the vsct file and move the Bitmaps section. you will find by default image reference is picking up from Resources\Images_32bit.bmp file.

image

This bitmaps section is used for define the images in command window or others windows. In the below image definition,  a list of images has been given as “UsedList”.

image

All the UsedList images, must need be specified in a GuidSymbol area,

image

So, you have noticed for each and every images, there is an IDSymbol and Value. Now based on  Symbol name ( guidImages) and id specified in the command area, images will be piking up from the resource.

image

So, this is how Icons in Visual Studio Extension displayed. Let’s have look how we can customize them. If yow want to customize, first things that you need is 16*16 24bit Bitmap Image . So, first create an images as per your extension, placed the same inside the Resource folder.  This can be list of images, with 16*16 size of 24bit mode or you can use a single image as well. I have used on single image to make it simple.

image

Now, moved to the GuidSymbol area, remove all the previous entry and added you new image name as IDSymbol

image

Once done, the only remaining task is to provide the same name, in the command Button Icon area.

image

The final changes we need to do is to change the mapping in BitMaps area of vsct file.

image

Once done, Run your extension, you can view the customized icon in all the applied command area.

image

Hope this will help you !

Cheers !

AJ

Filed under: .NET 4.0, Visual Studio 2010, VSX

Tags: Visual Studio, ASP.NET, .NET, BRH, Visual Studio 2010, Tips and Tricks, ASP.NET 4.0, .NET 4.0, C#, SessionStatebehavior, HttpModule, httpPipeline, Session, state Management, HTTPContext, Web.config, Session Mode, EnableSessionState,


Abhijit Jana
122 · 1% · 422
0
Liked
 
0
Lifesaver
 
0
Refreshed
 
0
Learned
 
0
Incorrect



Submit

Your Comment


Sign Up or Login to post a comment.

    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]