当我使用visual studio 2017发布excel插件时,如何修复此无效选项错误 [英] How do I fix this invalid option error when I publish an excel addin with visual studio 2017

查看:240
本文介绍了当我使用visual studio 2017发布excel插件时,如何修复此无效选项错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试使用visual studio 2017发布Excel插件时,我收到以下错误 -

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

如何解决?



我尝试过的方法:



我在Google上搜索了错误。我找到了一个说删除以前版本的Visual Studio的引用。我做到了但我仍然得到错误。

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.

推荐答案

感谢Bryian。从链接中注意到卸载旧版本的visual basic可以解决问题后,我就这样做了。但是错误仍然存​​在。然后我在我的电脑上搜索了signtool并发现卸载没有删除它的旧版本。在/ fd选项可用之前,它们可以追溯到2007年。

我手动删除它们,并重新安装了2017年的Visual Studio。现在工作正常。
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.


这篇关于当我使用visual studio 2017发布excel插件时,如何修复此无效选项错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆