For my project on TFS in Visual studio 2010, I had right clicked the project directory and checked out first. Then I have added and modified the files in the local path in file system. When I come back and do the "Checkin pending changes",in the list it only shows the modified files from local path, but not newly added ones.
How can I get the newly added files as well in the checkin list?
To add non-project content to source control:
Ensure that the items you want to add (for example, the packages folder) are in an appropriate location within a mapped folder on your local file system.
In Visual Studio 2010, In the Team Explorer window, expand your team project, and then double-click Source Control.
On the Source Control Explorer tab, in the Folders pane, select the folder that contains the item or items you want to add.
Click the Add Items to Folder button.
In the Add to Source Control dialog box, select the folder or items you want to add, and then click Next.
On the Excluded items tab, select any required items that have been automatically excluded (for example, assemblies), and then click Include item(s).
On the Items to add tab, verify that all the files you want to include are listed, and then click Finish.
In the Source Control Explorer window, click the Check In button.
In the Check In – Source Files dialog box, type a comment, and then click Check In.
Check the link below: