0

Setting the icon for an application in Visual Studio is fairly straightforward now. But, is it possible to set a different icon for files (documents) associated with your exe?

I remember it being not that difficult on the Mac (years ago). Does anybody know the secret for setting a specific icon for a document that is different than for the application that it is associated with in Windows via Visual Studio 2010?

Thanks in advance!

4

1 回答 1

0

好吧,我偶然发现了答案...

在 Visual Studio 2010 中...

右键项目...

选择左侧最后一个垂直选项卡的“发布”。

选择选项按钮(右侧四个按钮中的最后一个)。

选择“文件关联”...

在那里您可以选择图标。不完全确定 ProgID 是什么......当我找到更多信息时,我会再次发布。还有一些关于 ProgID 的信息在这里。'简短的答案'几乎是你想要的任何东西。

于 2013-05-27T22:51:52.370 回答