Error: No resource found that matches the given name (at 'icon' with value '@mipmap/Icon')

后端 未结 2 2036
谎友^
谎友^ 2021-01-18 02:31

This is my first attempt at Xamarin, just running through the examples at Xamarin.com.

But I\'m getting this error when I try to build. It\'s strange because I can s

2条回答
  •  滥情空心
    2021-01-18 02:52

    Here's a workaround. Go into assemblyinfo.cs (it's in the Properties folder in your project) and add the following line in there:

    [assembly: Application(Icon = "@mipmap/icon")]

提交回复
热议问题