473,503 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Warning from Setup Project: Two or more objects have the same target location

In my setup/installer for my solution, I get several warnings:

Warning 16 Two or more objects have the same target location
('[targetdir]\interop.shell32.dll')
Warning 18 Two or more objects have the same target location
('[targetdir]\interop.comctl2.dll')

Each of these files shows up twice in the list of files to install.
What is happening is that the setup project wants to install these
files in the Application Folder of my target system and it has two
source files of the same name to put into the same target file. For
example, it wants to take the two files
[SolutionDir]\bin\interop.shell32.dll'
[SolutionDir]\obj\Release\interop.shell32.dll'
and put them both into the file
[targetdir]\interop.shell32.dll'
thus it understandably gives a warning. (It's really the same file but
for some reason just lives in two different locations - VS2005
automatically put them there, I didn't) But the question is how do I
get rid of the warning? There doesn't seem to be any way to get rid of
one of the files. I can right click and say cut but that just grays it
out and doesn't really get rid of it. Hitting the delete key does no
good either. I have lots of other interop files listed but only those
two show up twice for some reason (any explanation for this?).

Apr 25 '06 #1
1 14044
When I click on one of the items in the list of files to install, and
check the Properties window, there is an Exclude property. If I set
this to true, it will make that file disappear from the list, however
the red squiggle still underlines the other file of the same name in
the list, and there are still TWO warnings given.

Apr 25 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2247
by: Tom | last post by:
I created an msi using the Setup Wizard, but don't seem to be able to create a shortcut to the applicaton on the desktop (or prompt for one) or the menu. Also, I would like to add an "uninstall"...
2
3602
by: serge calderara | last post by:
Dear all, I have build a setup project for my VB.NET application, I need to know the installation path of an application in order to add file in it. How can do that inside my setup project ?...
0
1715
by: Peter | last post by:
Hi, I've been recently porting some software written under VC++ 6.0 to VC .NET. The software was compiling fine under 6.0 but under .NET I'm getting linker warning: b.obj : warning LNK4227:...
0
2814
by: Michael R. Pierotti | last post by:
Has anyone seen this error before when trying to make the install on a program. ------ Starting pre-build validation for project 'HafaSMPPInstall' ------ WARNING: Unable to find dependency...
3
7178
by: DJTN | last post by:
I'm getting the following error when I try to compile my setup project in VS 2002. I have re-installed the .net framework 1.1 and it didnt solve the problem. WARNING: Unable to find dependency...
2
9217
by: Nick | last post by:
Hi, I have a VB.Net Setup and deployment project that installs my application. Now in my application, I am using an ocx that I have explicitly registered using the regsvr32.exe utility. Now when...
1
1199
by: PeterPr | last post by:
I need a routine that will step through a text file of consistent structure and, based on the content of each line, construct and save another text file. Outline of the project is as follows: 1....
0
2012
by: thjwong | last post by:
I'm using WinXP with Microsoft Visual C++ .NET 69462-006-3405781-18776, Microsoft Development Environment 2003 Version 7.1.3088, Microsoft .NET Framework 1.1 Version 1.1.4322 SP1 Most developers...
2
1750
by: sudhaoncyberworld | last post by:
Hi all I am using VS2005, How can I deploy the .Net Framework from my setup project? In the bootstrapper setup program we have below 3 options 1.Download prerequisites from the...
0
7188
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7063
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
5558
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4987
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4663
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3156
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1489
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
720
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
366
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.