Results 1 to 6 of 6

Thread: Need a project to build a debug version that IS NOT REFERENCED

  1. #1

    Thread Starter
    PowerPoster i00's Avatar
    Join Date
    Mar 2002
    Location
    1/2 way accross the galaxy.. and then some
    Posts
    2,390

    Need a project to build a debug version that IS NOT REFERENCED

    Ok ... this may sound a little weird... but basically...

    I have a Solution that contains 2 projects lets call them ProjectA and ProjectB (how original )

    ProjectA is the startup project

    ProjectB references ProjectA

    I need ProjectB to Build a debug version automatically (and every time) when the play button is pressed - this does not happen as the solution thinks "I don't need to build that as it is not referenced".

    How can I go about forcing this to happen?

    Thanks,
    Kris

  2. #2

    Re: Need a project to build a debug version that IS NOT REFERENCED

    Set the Project Dependency order.

  3. #3

    Thread Starter
    PowerPoster i00's Avatar
    Join Date
    Mar 2002
    Location
    1/2 way accross the galaxy.. and then some
    Posts
    2,390

    Re: Need a project to build a debug version that IS NOT REFERENCED

    that doesn't effect it ... like i said it does not build it (at debug time only) because it thinks that there is no need to because it is not referenced by ProjectA

    Kris

  4. #4

    Re: Need a project to build a debug version that IS NOT REFERENCED

    If they are in the same solution, it should do so.

  5. #5
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Need a project to build a debug version that IS NOT REFERENCED

    why does it think it's not referenced? it's also possible that it's not building it because the code hasn't changed.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  6. #6

    Thread Starter
    PowerPoster i00's Avatar
    Join Date
    Mar 2002
    Location
    1/2 way accross the galaxy.. and then some
    Posts
    2,390

    Re: Need a project to build a debug version that IS NOT REFERENCED

    formlesstree4:
    no not if it has no dependencies on the other project

    techgnome:
    ProjectB is not referenced from ProjectA - and ProjectA is the startup project
    Also doesn't effect it if i change the code or not ...

    FYI: basically ProjectA calls stuff in ProjectB without referencing it (not possible to add a reference to ProjectB in ProjectA as this will circular reference) - that means that i can step through ProjectB - but only if i haven't made changes to ProjectB
    Currently after making a change to ProjectB I have to set the startup project to ProjectB, run it, stop it, set the startup project back to ProjectA, and run in order to debug ProjectB through ProjectA

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