We use TFS as our source control repository. As a result we have files that are stored in the tree but are NOT part of the main solution. During the build process I use the following command:
tf get $/mysolutionPath /recursive /all /noprompt
This returns all files even those that are not part of the solution or its projects. I wonder if there is a way to get only files/projects that are only part of a specific solution, similar to Visual Studio's "Open Solution from source control" option.