

Voila! Now you might need to tweak your icon manually to fine-tune the details.Delete unwanted icon Image Types by right-clicking the Image Type and selecting Delete Image Type.In Visual Studio, paste (CTL + v) your copied image into the newly-created Image Type.In Paint, select all (CTL + a) and copy (CTL + c) your image.Make sure that the foreground color is set to something other than your transparency color, and the background color is set to your transparency color. When you copy/paste your image into Visual Studio, the background color you’ve set will automatically be transparent. Then right-click the color tile to set the background color to this transparency color. In the colors window, find the background color you’ve decided to use for transparency, or double-click an existing color and modify it to match the RGB values.Right-click under the existing icon sizes or go to the Image menu and select New Image Type. In Visual Studio, insert a new image type with the desired icon size and color depth.Edit the color to get the RGB values, you’ll need these in Visual Studio in order to set the default background color to match.

Select a single color in your image to represent transparency.


If you want to add transparency manually in the Visual Studio editor, you’ll want to set the special transparency color in VS and draw/fill this color onto your image within Visual Studio. Note: This tutorial shows you how to set a transparency color using a color found in an existing image by setting the background color in the Visual Studio editor. This article shows how to create an icon with transparency in Visual Studio 2013 from an existing image file. After losing much hair, I’ve finally figured it out. Another was the icon editor’s tendency to corrupt your icon if you ever hit ctl-z to undo any mistakes. The un-intuitive way you set transparency was one cause of frustration. I’ve found this experience to be clunky at best, and hair-pullingly frustrating in general. Visual Studio includes an icon editor that allows you to create custom icons for your applications.
