Insert image into code using Visual Studio

I remember once reading that there is a way to embed an image in a code file (for example, a screenshot or diagram) in Visual Studio, but now I can not find a link to this function.

Is this possible, or am I imagining things?

EDIT: I do not want to embed an image in an executable file for use at runtime. I mean the link or embed it literally in the code, for use by developers.

+6
visual studio
source share
3 answers

There is a plugin for VS 2010 that can do this:

Plugin

+7
source share

There is also a plugin for VS2012 and VS2013. At the moment, the installation for VS2013 does not seem to work for me.

Extending ImageComments on GitHub

+1
source share

You can embed images in your binary using the ImageList control, which is usually used to store small icons for list controls, gridviews, etc., but can also be used to store really any image for any purpose. The best solution would be to include the resource file and save your images there.

0
source share

All Articles