I just uninstalled AddIn-Express V2.6.1760 and installed version 2.7.1762. I am working with MSVS 2005 and VB.Net mainly.
An existing application project, which I could build fine in ADX2.6, now gives an error during a [Build Solution]:
-> Building file 'C:\Src\dotn\MyAddin1Setup\Debug\MyAddin1Setup.msi'...
ERROR: Unable to build custom action named 'AddinExpress.Install.2005.dll' because it references an object that has been removed from the project.
Build process cancelled
========== Rebuild All: 2 succeeded, 1 failed, 0 skipped ==========
In MSVS Solution Explorer, I r.clicked on AddinModule.vb , selected 'view designer'.
Error 1 Unable to build custom action named 'AddinExpress.Install.2005.dll'
because it references an object that has been removed from the project.
Warning 2 Could not load file or assembly
'C:\Program Files\Afalinasoft\Add-in Express .NET\Bin\AddinExpress.MSO.2005.dll' or
one of its dependencies. The system cannot find the file specified.
I have no idea what changed here. What to do? Thanks.
Add-in Express team
The fact is that we changed the default installation folder of the ADX .NET product. So, you just need to remove the Primary Output of the add-in and the 'AddinExpress.Install.2005.dll' assembly from the setup and add it again.
Also please remove all custom actions in the setup project and then add them again with the same parameters.
As an alternative, you can change the vdproj file of the setup directly in the text editor (e.g. Notepad).