I know there is another question with exact the same problem, but I went trough all those answers, and none helped me. :( (This was the question.)
I just created a new A
I have build 10 projects out of 25 projects in solution individually one by one based on dependencies. Then build the solution. It fixed for me