views:

442

answers:

2

Hi all,

I have 2 TFS projects on the same server (ProjectA and ProjectB). Both have the following structure...

  • $/ProjectName/Dev/Source/ApplicationName/
  • $/ProjectName/Dev/Source/SharedBinaries/

In ProjectA I can drag dlls into the ShareBinaries directory. In ProjectB, however, I cannot. TFS presents me with the 'Add to Source Control' dialog in which all the dlls are in the 'Excluded items' tab. Each dll has the description 'The item cannot be added because its destination path is cloaked.'.

I can see no difference between how the 2 projects are setup. Help, I'm stumped!

+5  A: 

Take a look at your workspace mappings. It sounds like when you drag & dropped the files, Visual Studio created an extra workspace mapping.

David
+1 this is almost certainly the problem. If not, do tell us how your workspace(s) are set up anyway, it affects future debugging inquiries.
Richard Berg
Can you be more specific please?
Chris Arnold
+1  A: 

I edited the Workspace and added a specific mapping for:

  • $/ProjectB/Dev/Source/SharedBinaries/*

I also then renamed the existing windows folder, added the SharedBinaries folder through TFS, checked it in then, finally, I was able to drag and drop the dlls. Not quite sure which bit of all that was the key though!

Chris Arnold
I had the same issue and the workspace mapping fixed it.
Antoine Aubry