Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the image sizes for custom Visual Studio 2010 templates?

I'm making a custom template for Visual Studio 2010. In the .vstemplate file, I can specify images for <Icon> and <PreviewImage>. What are the sizes of these images?

like image 253
Scott Avatar asked Sep 11 '25 04:09

Scott


1 Answers

There are three sizes respectively:

Icon image

  • 16x16 pixels for the if the Small Icons option is selected for listing project templates.
  • 32x32 pixels if the Medium Icons option is selected.

Preview image

200x200 pixels regardless the size of the image you specify.

For more, see a post of mine: https://dolinkamark.wordpress.com/2015/03/10/how-to-create-a-visual-studio-2013-project-template/

Which I know is about vs 2013, however it applies to previous versions if my memory serves. And unfortunately as you have written in your comment, these conclusions for image sizes and types are from trial and error as I haven't found any specifications on MSDN about this.

like image 141
Márk Gergely Dolinka Avatar answered Sep 14 '25 17:09

Márk Gergely Dolinka