更改默认图标Outlook插件 [英] change default icon outlook-addin
问题描述
我尝试更改y Outlook加载项的defaut图标.通过默认,它是蓝色图标
I try to change the defaut icon of y outlook add-in. By defaut it's blue icon
我更改了我的图像文件夹中的每个徽标.当我想添加我的加载项时,会看到正确的徽标
I changed every logo in my images folder. When I would like add my add-in I see the correct logo
但是在Outlook上,我又有旧徽标[]
But on Outlook, I have again the old logo []
3 我尝试清理并重建解决方案,但没有任何改变.我不明白为什么我总是有旧徽标.我不知道这个旧徽标来自哪里
3 I tried to clean and rebuild the solution, but it didn't change anything. I don't understand why I have always the old logo. I don't know where this old logo come from
推荐答案
尝试在清单文件中添加以下内容:
Try to add in your manifest file this:
<IconUrl DefaultValue="your URL to image"/>
<HighResolutionIconUrl DefaultValue="your URL to image" />
图片必须为128x128.
The image have to be 128x128 .
如果您具有撰写和读取标签的功能,则还需要具备以下条件:
If you have compose and read tags you need also have this:
<Icon>
<bt:Image size="16" resid="icon16" />
<bt:Image size="32" resid="icon32" />
<bt:Image size="80" resid="icon80" />
</Icon>
当icon16,icon32,icon80位于源代码中时:
When icon16,icon32,icon80 is inside the source tag:
<Resources>
<bt:Images>
<bt:Image id="icon16" DefaultValue="your URL to image"/>
</bt:Images>
</Resources>
您可以在此处查看完整的示例和说明: https://docs.microsoft.com/en-us/outlook/加载项/清单
You can see full example and explanation here: https://docs.microsoft.com/en-us/outlook/add-ins/manifests
这篇关于更改默认图标Outlook插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!