TFS 2010 cannot add solution
We are trying to add a VB.NET 2010 solution to a Team Foundation Server 2010. When we right-cli开发者_JS百科ck the solution and select "Add Solution to Source Controll..." it pops-up a message "The file 'sample.vb' cannot be added to the source countrol because the item has no source control mapping. If you choose one of the Ignore options the operation will continue without addint the file."
We wonder what the reason for this is.
We found that the file in question was a linked one and not part of the project itself. The rest of the files went in the TFS without any issues. So, you were right that the file was outside of the main project folder.
You need to make sure that the file is created in a directory that is mapped to the current TFS workspace.
精彩评论