且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

错误:找不到与给定名称匹配的资源(在“图标"处,值为“@mipmap/Icon")

更新时间:2023-09-20 17:49:34

这里有一个解决方法.进入 assemblyinfo.cs(它位于项目的 Properties 文件夹中)并在其中添加以下行:

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

[程序集:应用程序(图标 = @mipmap/icon")]

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