Visual Studio 2017 publish sign tool error












2















When I try to publish a C# Excel addin using Visual Studio 2017, I get the following error:




An error occurred while signing: Failed to sign binDebugapp.publishsetup.exe. Sign Tool Error: Invalid option /fd




I have tried uninstalling all versions of Visual Studio then reinstalling Visual Studio 2017. I've also Googled the error and tried 3 or 4 suggested solutions. None worked. Can anyone help?










share|improve this question





























    2















    When I try to publish a C# Excel addin using Visual Studio 2017, I get the following error:




    An error occurred while signing: Failed to sign binDebugapp.publishsetup.exe. Sign Tool Error: Invalid option /fd




    I have tried uninstalling all versions of Visual Studio then reinstalling Visual Studio 2017. I've also Googled the error and tried 3 or 4 suggested solutions. None worked. Can anyone help?










    share|improve this question



























      2












      2








      2








      When I try to publish a C# Excel addin using Visual Studio 2017, I get the following error:




      An error occurred while signing: Failed to sign binDebugapp.publishsetup.exe. Sign Tool Error: Invalid option /fd




      I have tried uninstalling all versions of Visual Studio then reinstalling Visual Studio 2017. I've also Googled the error and tried 3 or 4 suggested solutions. None worked. Can anyone help?










      share|improve this question
















      When I try to publish a C# Excel addin using Visual Studio 2017, I get the following error:




      An error occurred while signing: Failed to sign binDebugapp.publishsetup.exe. Sign Tool Error: Invalid option /fd




      I have tried uninstalling all versions of Visual Studio then reinstalling Visual Studio 2017. I've also Googled the error and tried 3 or 4 suggested solutions. None worked. Can anyone help?







      c# visual-studio excel-addins






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 25 '18 at 22:07









      marc_s

      575k12811101257




      575k12811101257










      asked Nov 25 '18 at 21:18









      Fred AndresFred Andres

      212




      212
























          2 Answers
          2






          active

          oldest

          votes


















          1














          Eureka!! I found it. The problem was that when I uninstalled previous versions of visual studio going back to 2007, it did not uninstall the associated sign tool. In 2007 /fd was not a valid option. I manually deleted them and reinstalled visual studio. It works fine now.






          share|improve this answer































            0














            You provided the flag "/fd" to the signing tool and it does not understand this. Try updating all your C# sharp programs and if this does not help try finding a setting where you can set arguments to the signing tool.






            share|improve this answer
























            • Visual studio adds the "/fd" automatically. It's not in my code and I don't know where to find it. I cannot find that option in arguments for my signing tool or publish options. Thanks for the quick response.

              – Fred Andres
              Nov 25 '18 at 21:35













            • then I have no clue at all

              – SuperSandro2000
              Nov 25 '18 at 22:22











            • Thanks for trying.

              – Fred Andres
              Nov 25 '18 at 23:05











            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53472076%2fvisual-studio-2017-publish-sign-tool-error%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            Eureka!! I found it. The problem was that when I uninstalled previous versions of visual studio going back to 2007, it did not uninstall the associated sign tool. In 2007 /fd was not a valid option. I manually deleted them and reinstalled visual studio. It works fine now.






            share|improve this answer




























              1














              Eureka!! I found it. The problem was that when I uninstalled previous versions of visual studio going back to 2007, it did not uninstall the associated sign tool. In 2007 /fd was not a valid option. I manually deleted them and reinstalled visual studio. It works fine now.






              share|improve this answer


























                1












                1








                1







                Eureka!! I found it. The problem was that when I uninstalled previous versions of visual studio going back to 2007, it did not uninstall the associated sign tool. In 2007 /fd was not a valid option. I manually deleted them and reinstalled visual studio. It works fine now.






                share|improve this answer













                Eureka!! I found it. The problem was that when I uninstalled previous versions of visual studio going back to 2007, it did not uninstall the associated sign tool. In 2007 /fd was not a valid option. I manually deleted them and reinstalled visual studio. It works fine now.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 26 '18 at 17:34









                Fred AndresFred Andres

                212




                212

























                    0














                    You provided the flag "/fd" to the signing tool and it does not understand this. Try updating all your C# sharp programs and if this does not help try finding a setting where you can set arguments to the signing tool.






                    share|improve this answer
























                    • Visual studio adds the "/fd" automatically. It's not in my code and I don't know where to find it. I cannot find that option in arguments for my signing tool or publish options. Thanks for the quick response.

                      – Fred Andres
                      Nov 25 '18 at 21:35













                    • then I have no clue at all

                      – SuperSandro2000
                      Nov 25 '18 at 22:22











                    • Thanks for trying.

                      – Fred Andres
                      Nov 25 '18 at 23:05
















                    0














                    You provided the flag "/fd" to the signing tool and it does not understand this. Try updating all your C# sharp programs and if this does not help try finding a setting where you can set arguments to the signing tool.






                    share|improve this answer
























                    • Visual studio adds the "/fd" automatically. It's not in my code and I don't know where to find it. I cannot find that option in arguments for my signing tool or publish options. Thanks for the quick response.

                      – Fred Andres
                      Nov 25 '18 at 21:35













                    • then I have no clue at all

                      – SuperSandro2000
                      Nov 25 '18 at 22:22











                    • Thanks for trying.

                      – Fred Andres
                      Nov 25 '18 at 23:05














                    0












                    0








                    0







                    You provided the flag "/fd" to the signing tool and it does not understand this. Try updating all your C# sharp programs and if this does not help try finding a setting where you can set arguments to the signing tool.






                    share|improve this answer













                    You provided the flag "/fd" to the signing tool and it does not understand this. Try updating all your C# sharp programs and if this does not help try finding a setting where you can set arguments to the signing tool.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Nov 25 '18 at 21:21









                    SuperSandro2000SuperSandro2000

                    624




                    624













                    • Visual studio adds the "/fd" automatically. It's not in my code and I don't know where to find it. I cannot find that option in arguments for my signing tool or publish options. Thanks for the quick response.

                      – Fred Andres
                      Nov 25 '18 at 21:35













                    • then I have no clue at all

                      – SuperSandro2000
                      Nov 25 '18 at 22:22











                    • Thanks for trying.

                      – Fred Andres
                      Nov 25 '18 at 23:05



















                    • Visual studio adds the "/fd" automatically. It's not in my code and I don't know where to find it. I cannot find that option in arguments for my signing tool or publish options. Thanks for the quick response.

                      – Fred Andres
                      Nov 25 '18 at 21:35













                    • then I have no clue at all

                      – SuperSandro2000
                      Nov 25 '18 at 22:22











                    • Thanks for trying.

                      – Fred Andres
                      Nov 25 '18 at 23:05

















                    Visual studio adds the "/fd" automatically. It's not in my code and I don't know where to find it. I cannot find that option in arguments for my signing tool or publish options. Thanks for the quick response.

                    – Fred Andres
                    Nov 25 '18 at 21:35







                    Visual studio adds the "/fd" automatically. It's not in my code and I don't know where to find it. I cannot find that option in arguments for my signing tool or publish options. Thanks for the quick response.

                    – Fred Andres
                    Nov 25 '18 at 21:35















                    then I have no clue at all

                    – SuperSandro2000
                    Nov 25 '18 at 22:22





                    then I have no clue at all

                    – SuperSandro2000
                    Nov 25 '18 at 22:22













                    Thanks for trying.

                    – Fred Andres
                    Nov 25 '18 at 23:05





                    Thanks for trying.

                    – Fred Andres
                    Nov 25 '18 at 23:05


















                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53472076%2fvisual-studio-2017-publish-sign-tool-error%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Contact image not getting when fetch all contact list from iPhone by CNContact

                    count number of partitions of a set with n elements into k subsets

                    A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks