Author Topic: I made one project depend on another , but ...  (Read 4199 times)

Offline huzhongshan

  • Multiple posting newcomer
  • *
  • Posts: 110
I made one project depend on another , but ...
« on: August 09, 2010, 01:50:07 am »
I use project->properties->building settings->project dependencies to make a project depend on b project.

when I made some changes in b project source files , I choose build a project the b project will not be build.

Does IDE check the dependencies changes when build the main project? if yes , hot to set this property in menu?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: I made one project depend on another , but ...
« Reply #1 on: August 09, 2010, 09:27:51 am »
You have to setup an external dependency.

Project A should depend on the output (probably dll) of Project B.

You have to go to Project -> Properties -> Build options -> Dependencies -> External deps -> add the path to the file generated by project b
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline huzhongshan

  • Multiple posting newcomer
  • *
  • Posts: 110
Re: I made one project depend on another , but ...
« Reply #2 on: August 11, 2010, 01:56:03 am »
 when I change source code in project b  and build the project a , can the project b  be build automatically?




Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: I made one project depend on another , but ...
« Reply #3 on: August 11, 2010, 09:36:34 am »
Yes, it will, if you setup it correctly
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]