Setup build fails

Add-in Express™ Support Service
That's what is more important than anything else

Setup build fails
 
Ralph Smith




Posts: 45
Joined: 2006-06-19
Hello,

The setup build for the 'HelloWorld' using 2.7 on VS.NET 2005 fails with...

1>------ Build started: Project: HelloWorld, Configuration: Debug Any CPU ------
1>HelloWorld -> C:\src\temp\HelloWorld\HelloWorld\bin\Debug\HelloWorld.dll
------ Starting pre-build validation for project 'HelloWorldSetup' ------
ERROR: Unable to find source file 'C:\Program Files\Afalinasoft\Add-in Express .NET\Bin\AddinExpress.Install.2005.dll' for assembly 'AddinExpress.Install.2005.dll', located in '[TARGETDIR]'
ERROR: Unable to find source file 'C:\Program Files\Afalinasoft\Add-in Express .NET\Bin\extensibility.dll' for assembly 'extensibility.dll', located in '[TARGETDIR]'
ERROR: Unable to find source file 'C:\Program Files\Afalinasoft\Add-in Express .NET\Bin\AddinExpress.MSO.2005.dll' for assembly 'AddinExpress.MSO.2005.dll', located in '[GAC]'
ERROR: Unable to find source file 'C:\Program Files\Afalinasoft\Add-in Express .NET\Bin\extensibility.dll' for assembly 'extensibility.dll', located in '[GAC]'
------ Pre-build validation for project 'HelloWorldSetup' completed ------
2>------ Build started: Project: HelloWorldSetup, Configuration: Debug ------
========== Build: 1 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========


Has anyone else seen this?
Posted 07 Aug, 2006 13:05:05 Top
Matt Driver


Matt


Posts: 152
Joined: 2004-08-17
Never seen that one before. Almost as if ADX has been uninstalled after the project was created.

Matt
Posted 07 Aug, 2006 16:55:59 Top
Sergey Grischenko


Add-in Express team


Posts: 7225
Joined: 2004-07-05
Hi Ralph.

You just need to remove the 'AddinExpress.Install.2005.dll', 'extensibility.dll' and 'AddinExpress.MSO.2005.dll' assemblies from the setup project and add them again from the correct location.
Posted 07 Aug, 2006 18:29:40 Top
Sergey Grischenko


Add-in Express team


Posts: 7225
Joined: 2004-07-05
Ralph, you can also correct the ADX installation directory in the text of the setup file (.vdproj). This is the best way to solve the issue.
Posted 07 Aug, 2006 18:33:20 Top
Ralph Smith




Posts: 45
Joined: 2006-06-19
Thanks!

We used the loader instead of the shim as a workaround for this issue. For some reason, the generated projects that used a loader had working setup files. Those generated with shims gave that error.

Best regards
Posted 07 Aug, 2006 20:07:09 Top
Matt Driver


Matt


Posts: 152
Joined: 2004-08-17
Hi

I may be wrong here but when you installed Visual Studio 2005 did you install the C++ part, as I believe this is needed to build the shim with the loader it is precompiled so may explain the build issues with shim, again I could be wrong.

Matt
Posted 08 Aug, 2006 07:37:26 Top
Ralph Smith




Posts: 45
Joined: 2006-06-19
Hello,

C++ is installed. It was the build path that was incorrect.
Thanks.

Best regards.
Posted 08 Aug, 2006 09:51:53 Top