I can't set my .svg file as my app icon. I put the .svg file inside the Resources folder and changed its "Build Actions" properties to MauiIcon and in the .csproj file I wrote: [1]: https://i.stack.imgur.com/8YDAo.png
CodePudding user response:
Try the following steps
Make it a basic svg file , you can take a png file and use tool to convert it to svg file .
Call the file the same as the default so
appicon.svg
, edit in your.csproj
<MauiIcon Include="Resources\appicon.svg" />
Refer to https://github.com/dotnet/maui/issues/3755#issuecomment-1063138958 .