Click here to Skip to main content
15,886,724 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
When I try to publish an Excel addin using visual studio 2017 I get the following error -
An error occurred while signing: Failed to sign bin\Debug\app.publish\\setup.exe. Sign Tool Error: Invalid option /fd
How do I fix it?

What I have tried:

I did a Google search on the error. I found one reference that said to remove previous versions of Visual Studio. I did that but I still get the error.
Posted
Updated 26-Nov-18 11:17am
Comments

1 solution

Thanks Bryian. After noting from your link that the problem could be solved by uninstalling old versions of visual basic, I did that. However the error persisted. Then I searched for signtool on my PC and discovered that the uninstall had not removed old versions of it. They dated back as far as 2007 before the /fd option was available.
I deleted them manually, and reinstalled visual studio 2017. It works fine now.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900