I'm writing a visual studio extension that is using some icons in the Resource folder(Resource folder and XAML file in the same parent folder). When wring the XAML file, the icons shows up fine in the Design window, however, after installation of the extension the icons does not show up. I am referencing the icons in the following way:
<Image Height="20" Width="20" Margin ="10,0,5,0" Source="Resources/myicon.ico">
</Image>
Why does this happen, and what can I do to avoid this?