Visual Basic > Visual Basic Forums > Visual Basic IDE > Setup project now gives error if the same file included twice opposed to warning in VS 2008
Ask a questionAsk a question
 

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

  • Friday, October 23, 2009 10:04 PMRobert Blackmore Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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:



    Error 14 Two or more objects have the same target location ('[targetdir]\interop.excel.dll') C:\Development\PIMS\PIMSSetup\PIMSSetup.vdproj PIMSSetup

All Replies

  • Sunday, October 25, 2009 3:47 AMkaymaf Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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
  • Monday, October 26, 2009 12:05 PMRong-Chun ZhangMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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.
  • Friday, October 30, 2009 11:34 AMRong-Chun ZhangMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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.
  • Friday, November 13, 2009 7:02 AMRong-Chun ZhangMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    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.