简体   繁体   中英

C# deployment project: Icon doesn't appear for the extension associated

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

In Demo C# Deployment Project Suppose we have an Extensions "abc" and an Icon "abc.ico" to be associated with it. Icon is placed in File System of the deployment proj. Extension abc is defined in File Types and icon is associated with it.

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.

Is there anything else to be done?

Visual Studio as Administrator打开Visual Studio as Administrator解决此问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM