Building your solution on C:\ doesn't really solve the issue, it just avoids it. True, that is a good work around, but you still can't build from a shared drive. I faced this same issue in VS and was able to overcome it without moving things locally. Here's what I did:
The Microsoft KB article more or less gets you in the right direction:
http://support.microsoft.com/kb/810886
Be sure to refer to it because the registry keys it tells you to adjust are correct.
On your local machine, either adjust the MaxCmds and MaxMpxCt like the article says, or add them. When I went to check, those values did not exist for me so I had to create them. If you do add them, choose NEW -> DWORD value. After it's created, then double click on the item to adjust the value. Make sure when you edit the DWORD value that you click on the Decimal base and don't use the Hexadecimal base. I put 500 for both MaxCmds and MaxMpxCt. Then restart.
Next, go to your share server and then do the exact same thing. Restart.
The range of values for these registry entries is between 0 and 65535, so you might need to adjust accordingly, but for me 500 worked.
One last thing... backing up your registry never hurts.. ;)