my requirements for Teamcity is like this.
- i got 2 build configurations. one for MyLib, one for MyApp.
- MyApp has to use artifact of MyLib.
- MyApp has to refer MyLib 's header files
- MyLib and MyApp is changing concurrently
I've setup 2 VCS roots: VCS_MyLib, VCS_MyApp
Build_config_MyLib use VCS_MyLib and triggered when there is VCS changes.
- uses VCS_MyLib & VCS_MyApp to refer VCS_MyLib header files. (is this standard way to do this ??)
- has snapshot dependency on Build_config_MyLib
- has artifact dependency on Build_config_MyLib.
When i add artifact dependency, TemCity says "Snapshot dependency is configured for the selected build configuration. To obtain artifacts from a build with the same sources you should select "Last finished build". why can't set "Last successful build" ?
It means even MyLib build broken, MyApp have to use broken binaries ?
Let me clear about this ...
Thanks in advance.