Results 1 to 2 of 2

Thread: Debug and Release versions in multiple project solutions

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2013
    Posts
    41

    Debug and Release versions in multiple project solutions

    Sorry if this is in the wrong location, as it is more general Visual Studio than VB.Net particularly. I have a project that has a GUI and a number of dlls that I have programmed. Is there a way to get visual studio to automatically reference the correct dll when building? i.e. I build mainprog.exe as release version, and so it builds dllOne.dll and dllTwo.dll in release version too, and then when I build mainprog.exe as debug, then dllOne and dllTwo are debug also? It seems that whichever I set as reference, just stays that way

    thanks.

  2. #2

    Thread Starter
    Member
    Join Date
    Oct 2013
    Posts
    41

    Re: Debug and Release versions in multiple project solutions

    I have solved it; to add a reference, right click on the project and then add references. Then on the left, select 'solution' and then pick the other projects you want to add as references. My mistake was clicking on 'browse' and then adding particular files, which of course would only be one of the builds.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width