Visual Basic .NET embedding resources and Windows Live Writer plugin
Finally figured out how to add an icon to my Multiple Tags Plugin. It turns out that, probably because I’m using visual basic .net, that the proces is somewhat different then that of C#.
However:
- Go to your project properties
- Go to Resources
- Select Add Resource
- Be sure to select "Add Existing File…"
- Browse to the location of your file and select open
- The file is added as a resource, and to your project, a resouce folder is added
- Go to the resource folder – expand it
- Click the image, goto properties, select Build Action and choose "Embedded Resource"

- To add it to your Windows Live Writer Plugin add this to your WriterPluginAttribute: ImagePath:="Tags.png" (note: You should NOT add the folder)
Now build your project, and when opening Windows Live Writer, you should se the icon next to your plugin.
Technorati: Embedding+resource, Visual+Basic+.NET, Windows+Live+Writer, plugin, icon