Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Picking up guid images based on the Visual Studio theme selected

$
0
0

Hi!

I've created a new VS Package project and added a Bitmap image resource. So, my Resources.resx file contains a name-value pair with the value being the relative path to the image. However, I was wondering if it is possible to make the .vsct file pick the image based on the Visual Studio theme that I switch to (Light, blue and dark).

To make it clear, suppose I have Image1.bmp (which I intend to use with Light and blue themes) and Image2.bmp (for the dark theme), is there a way for me to specify which of these VS has to pick up to add as icons to the commands, on start up based on the theme.

Thanks


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>