Visual Studio找不到文件关联中使用的图标。

3
我在我的C# WinForms项目中,在“项目设置 -> 发布 -> 选项 -> 文件关联”下添加了一个文件关联的图标,并遇到了以下错误:
Error   1   The default icon [file path] could not be found in the current file references or is not part of the required download group. The default icon file name is case sensitive so the file name referenced in the application manifest must exactly match the icon's file name.

这个图标已经作为资源添加到了我的项目设置->资源部分。

我该如何修复这个问题?

1个回答

3

在“解决方案资源管理器”中找到图标文件,右键单击它并选择“属性”,然后在“生成操作”下选择“内容”。


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接