I have three msbuild projects.
ProjectA is configured to run in TeamCity.
ProjectA sets some properties, imports ProjectB and then calls a target of that ProjectB.
ProjectB imports ProjectC, executes some tasks that are in ProjectB and among that tasks it calls a target of ProjectC.
Everything is ok when I run the script (ProjectA) locally using msbuild.exe. When it runs under team city there is a very strange behaviour. ProjectA does call ProjectB as it should, but project B does not run any local task, but only the target of ProjectC that is suppose to call at some moment.
I'm using TeamCity 4.5.1 which I cannot upgrade for some reasons.