I want to know how I can trigger projects base on their dependencies.
Project 1 : Core
Project 2: SalesGenerator
Project 3: PurchaseGenerator
Now Project 2 and Project 3 references common binaries from Project 1 so if Project 1 is built we need Project 2 and Project 3 rebuilt, however we don't want Project 2 to for Project 1 to be rebuilt which was the Snapshot Dependency is doing.
How is this possible to do?
I think I understand what you're asking. If you setup snapshot dependencies in Project 2 and Project 3 over to Project 1 then if Project 2 or Project 3 (or both) are triggered then Project 1 is also triggered. But if something is not core you don't want to build Project 1. This is simple enough if you setup the VCS roots correctly to exclude any non-core areas from Project 1 and you have the correct options selected on your snapshot dependencies. To do this you should edit your snapshot dependencies and select the following options:
Thank you for the response, however the Project 1 (Core) that I'm trying to avoid building does not get checked out as part of Project 2 or 3 as I'm only referencing their DLLs.