I maintain the build of a fairly large piece of software, consisting of roughly 350 csharp projects. Our build time for a debug built clocks in at about 17 minutes.
It looks like that your projects are configured to the same output directory. If you configure Project A and Project B to output to different directories, this would resolve this error.