Windows Live Writer Plugin - Adding an icon
So something I forgot to mention so far is now to add an icon to your plugin.
The image file must be a bitmap (png) and be 20x18. Below is the correct format for a plugin icon, the image is the LiveWriter icon. I haven't add transparency, but you could if you wanted.
To add an icon, first include it in the VS solution and set the Build Action on the file properties to be an Embedded Resource and the Copy to Output property to Copy Always.
Then, in the WriterPlugin attribute, set the ImagePath property to be the image filename "writer.png". If the image is in a sub directory, then you need to include the foldername in the filename.
For example Images\Writer.png would be Images.Writer.png
Labels: LiveWriter





Blogger comments