Error - Two or more objects have the same target location

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

Error - Two or more objects have the same target location
 
Andrew Saunders




Posts: 17
Joined: 2006-03-21
Hi I have just built an Add-in and when I build my release version am getting the error message "Two or more objects have the same target location ('[targetdir]\office.dll')". I notice there are two office dll's in the detected dependencies, (1) version 2.1.0.0 (2) version 7.0.3300.0 .

I tried to continue and install it anyway but I then got the error message that the shim had failed to register.

What should I do please?

Thanks.
Posted 01 Apr, 2006 01:01:36 Top
Sergey Grischenko


Add-in Express team


Posts: 7228
Joined: 2004-07-05
Hi Andrew.

Just delete the Office.dll v7.0.3300.0 from dependecies of the add-in project. The fact is the latest ADX version (v2.4.1757) doesn't require
this assembly.
Posted 03 Apr, 2006 11:36:55 Top