Struggled to add DLLs to a Libraries folder in VS TFS solution every time, and decided to write the procedure down so that I can do it faster next time.

Create ‘Libraries’ folder:

  1. Add a new solution folder ‘Libraries’ folder in the VS solution
  2. Create a ‘Libraries’ folder in the related TFS location of Source Control Explorer
  3. Check in the ‘Pending Changes’

To add DLLs to ‘Libraries’ folder of TFS:

  1. Right click the ‘Libraries’ folder in the related TFS location of Source Control Explorer
  2. Choose ‘Add Items to Folder’, browse to DLLs, and click ‘Finish’

Map (/add) DLLs from TFS to solution:

  1. Right click the VS solution, select ‘Open folder in File Explorer’, browse to the ‘Libraries’ folder
  2. Drag and drop those DLLs in the ‘Libraries’ folder of Window Explorer to ‘Libraries’ folder in the VS solution
  3. Check in the ‘Pending Changes’

Found this solution [1], adjusted it to my way.

References:

[1] – http://stackoverflow.com/questions/4971807/storing-referenced-dlls-in-visual-studio-solution-folder

 

Advertisements