I want to use a svg file as an icon for a button, but I have an error that says: "The component cannot be found.
What should I use as a source?
I used this code:
<Button Grid.Row="2" Click="Click">
<StackPanel Orientation="Horizontal">
<Image Source="/my project;component/my folder/my icon.svg" />
<TextBlock> add</TextBlock>
</StackPanel>
</Button>