locked
keep referenced dll in TFS RRS feed

  • Question

  • hey Guys

    what i will ask is very premitive and basic but i can't figure out a way to do it as am still very new to TFS

    i have a windows applicaton stored in TFS source control
    on my machine i added refrence to a few dlls i used in the app and i can build successfully

    when i check in .then check out the project in another machine. i cant build cuz the referenced dlls are missing

    how can i get source control to store the dlls along with the code so when other developers checks the project out
    they can build right away without having to reference the dll again????

    thanks in advance
    Sunday, January 13, 2008 10:54 AM

Answers

  • Hello,

    You need to manually add assemblies to tfs, then other users will be able to sync them build without problems.

    To add files to tfs:

    • from command line, go to the directory containing assemblies and type "tf add foo.dll"
    • OR in Source Control Explorer, go to the location where the assemblies should be and click "Add to Source Control" on the toolbar or from File->Source Control

    This will pend add on those assemblies, you need to check them in of course.

    If those assemblies are outside of the project root, please be careful and check if the csproj file contains relative path to them and that it's the same path as on the server (should be always true if you have simple mappings).

     

    Hope this helps

    Monday, January 14, 2008 7:29 PM

All replies

  • Hello,

    You need to manually add assemblies to tfs, then other users will be able to sync them build without problems.

    To add files to tfs:

    • from command line, go to the directory containing assemblies and type "tf add foo.dll"
    • OR in Source Control Explorer, go to the location where the assemblies should be and click "Add to Source Control" on the toolbar or from File->Source Control

    This will pend add on those assemblies, you need to check them in of course.

    If those assemblies are outside of the project root, please be careful and check if the csproj file contains relative path to them and that it's the same path as on the server (should be always true if you have simple mappings).

     

    Hope this helps

    Monday, January 14, 2008 7:29 PM
  • Hey Michael

    yes that did the trick. thanks you for your support
    i tried a couple of times to find such option in all the context menus.

    Regards
    Ramez
    Wednesday, January 16, 2008 10:16 AM