aeon made me realize i need to revise my question.
I have a chain of static c++ libraries that build just fine. For 3 libraries A,B,C ("->" means a dependency): if A->B and A->C than when i build A everything builds successfully.
I'm referencing A from a c++ console application and when i build that application i get unresolved symbols from static library B. example: "Error 195 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl ..."
I'm working with VS2010 and referencing static libraries the new way meaning i'm not adding the libraries to "Additional libraries" but i'm referencing them from the new "References..." option they created on VS2010. explained here: http://qualapps.blogspot.com/2010/04/static-library-dependencies-in-visual.html (I tried referencing using "Additional Dependencies" but got the same results).
Any idea how can i resolve this issue ?!