Environment: VS 2010, Windows 7, TFS
I have a solution1 with solution filder called Binaries(which is a physical path on local computer, say it's c:\Binaries): I put all external assesmblies in this folder.
In another solution2, for each class library project in this solution, set property->build->Output path to c:\Binaries, so that the latest version of these assemblies can be referenced by any project in solution1
It's working fine.
Now I put solution1 and solution2 to TFS and all of them are under TFS source control, include Binaries folder.
Now I open solution 2 again and build the solution2, it give me permission error for each class library project like:
Error 49 Unable to copy file "obj\Debug\mycomponent.dll" to "....\Binaries\mycomponent.dll". Access to the path '....\Binaries\mycomponent.dll' is denied.
But if I check the permission in windows 7 on c:\Binaries, no problem. So it should be something wrong with VS 2010 or TFS.
How to fix this problem?