问题
I have made an addin for Microsoft Word 2010 Beta using Visual Studio 2010 RTM. When I look at "View and manage Microsoft Office Add-ins" the publisher shows up as None.
Would code signing with a Software Publisher Certificate fill in the Publisher field?
The ClickOnce manifest is signed with a Code Signing certificate.
Would signing the assembly with a strong name key file fill in the Publisher field?
Is there a method using codesign.exe that would fill in the Publisher field?
Note: Using signtool.exe to sign the addin dll with the certificate results in the publisher showing as None in Word.
回答1:
You should be modifying the targets file to set details like Publisher. This solution, albeit for VSTO 2008, should still be applicable to 2010: http://blogs.msdn.com/vsto/archive/2008/06/11/specify-a-product-name-publisher-name-and-other-properties-for-vsto-solutions-saurabh-bhatia.aspx
来源:https://stackoverflow.com/questions/2645534/set-publisher-in-word-options-add-ins-dialog