C# 部署项目 : Icon doesn't appear for the extension associated

标签 c# visual-studio-2010 installation setup-project setup-deployment

Linking Icon to an Extension doesn't create default icon path in registry.

在演示 C# 部署项目中 假设我们有一个 Extensions "abc" 和一个 Icon "abc.ico" 与之关联。图标放置在部署项目的文件系统中。扩展名 abc 在 File Types 中定义,并且图标与之关联。

But in registry the default icon path is empty and the exe for the icon is not generated. If Default Icon Path is not created the icon will not be visible.

还有什么需要做的吗?

最佳答案

以管理员身份打开 Visual Studio 解决了问题。

关于C# 部署项目 : Icon doesn't appear for the extension associated,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26480914/

相关文章:

c# - 将代码写入多行

c++ - 在 MFC C++ 中使用多线程

c# - 为什么需要安装向导?我如何创建一个?

c# - 如何在 WPF 上使用 ICommand 的 CanExecute 方法

c# - 如何拉取 asp :button inside an asp:listview for use with jQuery? 的 clientID

visual-studio-2010 - VS2010 中的扩展管理器错误?

entity-framework - 是否可以在 VS2010 中检索 DDL 生成模板内的连接字符串?

linux - 在 ubuntu 中安装 swig 3.0.0 时出错?

r - 在没有互联网的情况下安装R软件包

c# - 在 WebBrowser 控件上显示 PDF 不起作用