Debug Outlook VSTO Plugin from Visual Studio 2017 does not work --> debug not possible removing deployment...











up vote
0
down vote

favorite












I created a VSTO Plugin for outlook (2016). During development i could press und debug then outlook started and I could debubg by plugin.
Now I created a deployment and installed it in outlook. Then I removed the installation from outlook by hitting remove in the "Com-AddIns ... "
enter image description here



After that I restarted outlook and tried to Debug my plugin. Outlook still starts but it does not add the plugin to outlook?
So I tried to install the plugin and then try to start debug from visual studio.
Now it says that it could not install the plugin as there is already such a plugin installed.



After that I tried to manually add the Plugin dll by selecting "Add" from the dialog referred to above. I selected the dll from binDebug. Outlook says that this is not a proper outlook plugin



do you have any idea what I could do to be able to debug my outlook plugin again?



Best regards
Hannes










share|improve this question


























    up vote
    0
    down vote

    favorite












    I created a VSTO Plugin for outlook (2016). During development i could press und debug then outlook started and I could debubg by plugin.
    Now I created a deployment and installed it in outlook. Then I removed the installation from outlook by hitting remove in the "Com-AddIns ... "
    enter image description here



    After that I restarted outlook and tried to Debug my plugin. Outlook still starts but it does not add the plugin to outlook?
    So I tried to install the plugin and then try to start debug from visual studio.
    Now it says that it could not install the plugin as there is already such a plugin installed.



    After that I tried to manually add the Plugin dll by selecting "Add" from the dialog referred to above. I selected the dll from binDebug. Outlook says that this is not a proper outlook plugin



    do you have any idea what I could do to be able to debug my outlook plugin again?



    Best regards
    Hannes










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I created a VSTO Plugin for outlook (2016). During development i could press und debug then outlook started and I could debubg by plugin.
      Now I created a deployment and installed it in outlook. Then I removed the installation from outlook by hitting remove in the "Com-AddIns ... "
      enter image description here



      After that I restarted outlook and tried to Debug my plugin. Outlook still starts but it does not add the plugin to outlook?
      So I tried to install the plugin and then try to start debug from visual studio.
      Now it says that it could not install the plugin as there is already such a plugin installed.



      After that I tried to manually add the Plugin dll by selecting "Add" from the dialog referred to above. I selected the dll from binDebug. Outlook says that this is not a proper outlook plugin



      do you have any idea what I could do to be able to debug my outlook plugin again?



      Best regards
      Hannes










      share|improve this question













      I created a VSTO Plugin for outlook (2016). During development i could press und debug then outlook started and I could debubg by plugin.
      Now I created a deployment and installed it in outlook. Then I removed the installation from outlook by hitting remove in the "Com-AddIns ... "
      enter image description here



      After that I restarted outlook and tried to Debug my plugin. Outlook still starts but it does not add the plugin to outlook?
      So I tried to install the plugin and then try to start debug from visual studio.
      Now it says that it could not install the plugin as there is already such a plugin installed.



      After that I tried to manually add the Plugin dll by selecting "Add" from the dialog referred to above. I selected the dll from binDebug. Outlook says that this is not a proper outlook plugin



      do you have any idea what I could do to be able to debug my outlook plugin again?



      Best regards
      Hannes







      outlook vsto






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 17 at 14:57









      user668338

      8003717




      8003717
























          2 Answers
          2






          active

          oldest

          votes

















          up vote
          0
          down vote













          I am such a stupid person:



          First it is not sufficient to remove the plugin by using the COM-diaog. You need to remove it using System Settings.
          After the "old" plugin is removed completey from the system you need to reinstall the debug version. for this doubleclick on the *.vsto file in the bindebug project of your visual studio project.



          This should do the job.






          share|improve this answer




























            up vote
            0
            down vote













            You could use the "VSTOInstaller.exe " to uninstall your add-in. Please refer to the following link:



            Uninstalling Office VSTO addins






            share|improve this answer





















              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',
              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%2f53352394%2fdebug-outlook-vsto-plugin-from-visual-studio-2017-does-not-work-debug-not-po%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








              up vote
              0
              down vote













              I am such a stupid person:



              First it is not sufficient to remove the plugin by using the COM-diaog. You need to remove it using System Settings.
              After the "old" plugin is removed completey from the system you need to reinstall the debug version. for this doubleclick on the *.vsto file in the bindebug project of your visual studio project.



              This should do the job.






              share|improve this answer

























                up vote
                0
                down vote













                I am such a stupid person:



                First it is not sufficient to remove the plugin by using the COM-diaog. You need to remove it using System Settings.
                After the "old" plugin is removed completey from the system you need to reinstall the debug version. for this doubleclick on the *.vsto file in the bindebug project of your visual studio project.



                This should do the job.






                share|improve this answer























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  I am such a stupid person:



                  First it is not sufficient to remove the plugin by using the COM-diaog. You need to remove it using System Settings.
                  After the "old" plugin is removed completey from the system you need to reinstall the debug version. for this doubleclick on the *.vsto file in the bindebug project of your visual studio project.



                  This should do the job.






                  share|improve this answer












                  I am such a stupid person:



                  First it is not sufficient to remove the plugin by using the COM-diaog. You need to remove it using System Settings.
                  After the "old" plugin is removed completey from the system you need to reinstall the debug version. for this doubleclick on the *.vsto file in the bindebug project of your visual studio project.



                  This should do the job.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 17 at 15:05









                  user668338

                  8003717




                  8003717
























                      up vote
                      0
                      down vote













                      You could use the "VSTOInstaller.exe " to uninstall your add-in. Please refer to the following link:



                      Uninstalling Office VSTO addins






                      share|improve this answer

























                        up vote
                        0
                        down vote













                        You could use the "VSTOInstaller.exe " to uninstall your add-in. Please refer to the following link:



                        Uninstalling Office VSTO addins






                        share|improve this answer























                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          You could use the "VSTOInstaller.exe " to uninstall your add-in. Please refer to the following link:



                          Uninstalling Office VSTO addins






                          share|improve this answer












                          You could use the "VSTOInstaller.exe " to uninstall your add-in. Please refer to the following link:



                          Uninstalling Office VSTO addins







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Nov 19 at 0:54









                          Simon Li

                          18414




                          18414






























                               

                              draft saved


                              draft discarded



















































                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53352394%2fdebug-outlook-vsto-plugin-from-visual-studio-2017-does-not-work-debug-not-po%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

                              Create new schema in PostgreSQL using DBeaver

                              Deepest pit of an array with Javascript: test on Codility

                              Costa Masnaga