vb.net addin won't run in release mode
-
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
-
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
-
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[^]
-
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
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?