Usage of Solution Items Folder

When you open up a solution and do a “get Latest” for the solution and then build, sometimes to your surprise, I you might get build errors tell me that some thrid party dlls could not be found.

then you realized that soem thrid party dlls may not be located with in the solution folder. you might need to go beyond the solution folder to get them from TFS.

To my understanding that is not necessary,  we can make these DLL part of the solutions and when  we get latest for the solution, these DLLs would be refreshed along with other project files even they are not source code , not under the solution folder.

The answer to that is Solution Items folder in the solution view.

All you need to do is add these files ( DLLs or any other files) into the solution folder by <Add><Add Existing items>

This is also a good practices to know specifically what external libraries are needed to build the solution.

The goal is that, “ with nothing in the local hard disk, we open the solution, get latest for the solution, we should be able to build the solution”…


Happy programming.

No comments:

Post a Comment