Visual Basic Development Bookmark and Share   
 Home > Visual Basic IDE > Setup project now gives error if the same file included twice opposed to warning in VS 2008
 

Setup project now gives error if the same file included twice opposed to warning in VS 2008

I include 2 exes in my setup project which share dlls. In 2008 this just resulted in warnings when building but I now get an error instead indicating that the file is already included.

I can fix this by excluding them but they will reappear after each build so have to be excluded again which slows the process down - example error message is below:



Error14Two or more objects have the same target location ('[targetdir]\interop.excel.dll')C:\Development\PIMS\PIMSSetup\PIMSSetup.vdprojPIMSSetup
Robert Blackmore  Friday, October 23, 2009 10:04 PM
Try setup and deployment forum http://social.msdn.microsoft.com/Forums/en-US/winformssetup/threads

kaymaf
If that what you want, take it. If not, ignored it and no complain
kaymaf  Sunday, October 25, 2009 3:47 AM
Hello Robert,

Thanks for your post.

I performed a test on my side, it always gives me a warning, not an error. Could you please provide more detailed information on how you create the setup project the refered projects?

As kaymaf suggested, it's better ask setup project questions on Windows setup project forum.

Thanks,
Rong-Chun Zhang
MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact msdnmg@microsoft.com
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Rong-Chun Zhang  Monday, October 26, 2009 12:05 PM
Have you got any progress on this issue? If there is anything else we can help, welcome to post here.

Thanks,
Rong-Chun Zhang
MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact msdnmg@microsoft.com
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Rong-Chun Zhang  Friday, October 30, 2009 11:34 AM

We are changing the issue type to “General Discussion�because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question�by opening the Options list at the top of the post window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.

Thank you!
Rong-Chun Zhang


Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Rong-Chun Zhang  Friday, November 13, 2009 7:02 AM

You can use google to search for other answers

Custom Search

More Threads

• About Xml Export.
• How do you change Help options in VB 2008?
• database connection error
• Failed to add TableAdapter error
• IDE Error List not updating
• Newbie dumb question...
• External ClickOnce application configuration
• Autohidden code in Visual Studio .NET 2005
• Dataset Designer being extremley slow
• Visual Basic .NET 2003