I converted image.png to image.svg using Vector Magic and then to image.xaml using svg2xaml, which according to this is supposed to work with Visual Studio.
After adding image.xaml to the project and setting its build path to resource, I add the following line to my XAML file:
<ContentControl Template="{StaticResource image}" />
According to the tutorial here. But, I'm getting a "Error 1 StaticResource reference 'image' was not found." error.
On this MSDN page, it shows that not adding a previous "declaration" results in an error, but if I already linked the resource in the project, isn't that already taken care of? I also don't know what type the "declaration" would need to include, assuming I need one.
Otherwise, I have no idea what I'm doing wrong.