问题
I have written a BHO and a toolbar for Internet Explorer in C#. They are getting installed and working properly. In the manage add-ons window in IE8, I am able to see both my BHO and toolbar. But, the publisher name of both is set to "Control name is not available". How can I set the publisher name?
回答1:
Two things:
- Are you signing your .dll? You need to sign your modules as well as your installation package.
- Make sure your .dll has a VERSIONINFO resource in your .rc file. Here's the documentation which has a sample you can basically cut and paste.
回答2:
Signed your Dll. assemblyinfo file in .net the attribute [assembly: AssemblyCompany("add Publisher Name Here ")] GOES as publisher name in a BHO.. Thanks
回答3:
After set following info in AssemblyInfo.cs file build the DLL.
[assembly: AssemblyCompany("Your publisher name")]
When you register that DLL then use the following command.
regasm /register /codebase YourDLL.dll
Now it will show your publisher name in manage addon in IE.
Hope this make more sense.
来源:https://stackoverflow.com/questions/2763800/how-to-set-the-publisher-name-in-a-bho