Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. vb.net addin won't run in release mode

vb.net addin won't run in release mode

Scheduled Pinned Locked Moved Visual Basic
csharpvisual-studiosysadmindata-structures
4 Posts 3 Posters 5 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JR212
    wrote on last edited by
    #1

    Hi, I wrote a small addin works perfect in debug-mode, however when I run it in Release-mode I get this error.

    Microsoft.VisualStudio.Tools.Applications.Deployment.AddInAlreadyInstalledException: De aanpassing is niet geïnstalleerd omdat er momenteel een andere versie is geïnstalleerd waarvoor geen upgrade kan worden uitgevoerd vanaf deze locatie. Als u deze versie van de aanpassing wilt installeren, moet u eerst Software gebruiken om het volgende programma te verwijderen: CalPicklist. Installeer vervolgens de nieuwe aanpassing vanaf de volgende locatie: file:///D:/Stack/Visual Studio 2019/Projects/Office/Excel/CalPicklist/bin/Release/CalPicklist.vsto
    bij Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.VerifySolutionCodebaseIsUnchanged(Uri uri, String subscriptionId, Boolean previouslyInstalled)
    bij Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()

    Sorry that's in my language. When I try to install it after the publish No error is given but also not loading. Any ideas what went wrong. I already use clean on the project but no luck. Jan

    B L 2 Replies Last reply
    0
    • J JR212

      Hi, I wrote a small addin works perfect in debug-mode, however when I run it in Release-mode I get this error.

      Microsoft.VisualStudio.Tools.Applications.Deployment.AddInAlreadyInstalledException: De aanpassing is niet geïnstalleerd omdat er momenteel een andere versie is geïnstalleerd waarvoor geen upgrade kan worden uitgevoerd vanaf deze locatie. Als u deze versie van de aanpassing wilt installeren, moet u eerst Software gebruiken om het volgende programma te verwijderen: CalPicklist. Installeer vervolgens de nieuwe aanpassing vanaf de volgende locatie: file:///D:/Stack/Visual Studio 2019/Projects/Office/Excel/CalPicklist/bin/Release/CalPicklist.vsto
      bij Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.VerifySolutionCodebaseIsUnchanged(Uri uri, String subscriptionId, Boolean previouslyInstalled)
      bij Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()

      Sorry that's in my language. When I try to install it after the publish No error is given but also not loading. Any ideas what went wrong. I already use clean on the project but no luck. Jan

      B Offline
      B Offline
      BabyYoda
      wrote on last edited by
      #2

      The error says that it is already installed. This link seems to explain in more detail, Resolve Deployment.AddInAlreadyInstalledException installing a Microsoft Office add-in - Notes[^]

      J 1 Reply Last reply
      0
      • B BabyYoda

        The error says that it is already installed. This link seems to explain in more detail, Resolve Deployment.AddInAlreadyInstalledException installing a Microsoft Office add-in - Notes[^]

        J Offline
        J Offline
        JR212
        wrote on last edited by
        #3

        I found that to. no help sorry Jan

        1 Reply Last reply
        0
        • J JR212

          Hi, I wrote a small addin works perfect in debug-mode, however when I run it in Release-mode I get this error.

          Microsoft.VisualStudio.Tools.Applications.Deployment.AddInAlreadyInstalledException: De aanpassing is niet geïnstalleerd omdat er momenteel een andere versie is geïnstalleerd waarvoor geen upgrade kan worden uitgevoerd vanaf deze locatie. Als u deze versie van de aanpassing wilt installeren, moet u eerst Software gebruiken om het volgende programma te verwijderen: CalPicklist. Installeer vervolgens de nieuwe aanpassing vanaf de volgende locatie: file:///D:/Stack/Visual Studio 2019/Projects/Office/Excel/CalPicklist/bin/Release/CalPicklist.vsto
          bij Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.VerifySolutionCodebaseIsUnchanged(Uri uri, String subscriptionId, Boolean previouslyInstalled)
          bij Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()

          Sorry that's in my language. When I try to install it after the publish No error is given but also not loading. Any ideas what went wrong. I already use clean on the project but no luck. Jan

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Translation:

          The customization is not installed because another version is currently installed that cannot be upgraded from this location. To install this version of the customization, you must first use Software to remove the following program: CalPicklist. Then install the new customization from the following location: file: /// D: / Stack / Visual Studio 2019 / Projects / Office / Excel / CalPicklist / bin / Release / CalPicklist.vsto at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.VerifySolutionCodebaseIsUnchanged (Uri uri, String subscriptionId, Boolean previouslyInstalled) at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn ()

          Have you done what the message says?

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups