Check in DLLs or else to Source Control

Hi all,

TFS Source Control does not check-in files like .dll or even .config. How can I add them to the Source Control I want to have a place where all files are stored so my colleagues could easily retrieve all the files and get the project running even when I'm away. And especially for the .config files I'm a little bit confused they are not automatically stored there....

Thanks in advance!


Answer this question

Check in DLLs or else to Source Control

  • Yuki Chen

    Hi Chak,

    You’re the first person I’ve seen who wants to restrict binary files
    completely. The ability to add it to TFS via checkin policies is why we
    created an extensible API.

  • trackdaychamp

    The problem is, I get a cute little dialog box which says

    Error

    Permission AdminConfiguration is required

    OK

    unfortunately (even though I'm the server admin and the installer of Team System I can't find out how to set "AdminConfiguration"

    When I search for this, I get useless information about how to set almost everything else (which I can set already)


  • kastanienreis

    We need to write a custom policy to prevent binary files storage in TFS. You can use the following link as a sample policy to suite your needs. I am just wondering why microsoft is not providing such an option.

    http://blogs.msdn.com/jmanning/attachment/523125.ashx



  • PareshGheewala

    There are at least two different problems here.

    The dialog you're trying to open - Source Control File Types - does not control what kind of files you can checkin to TFS. TFS supports all file types; you cannot configure it otherwise. This dialog is for changing which files will be exclusively locked when a change is pended on them. (Usually done for binary files.)

    Opening that dialog requires the AdminConfiguration permission. You can give control who has this permission via 'tf perm /global /allow:AdminConfiguration /user:<user>'. It's also controlled in the Team -> TFS Settings -> Security dialog, under the description "Edit server-level information."

    The "exclude list" mentioned previously is part of the Add dialog. Click the '+' button in the Source Control Explorer toolbar. You have to click OK in that dialog for the setting to persist. It's stored on the client only so there is no security around it.

  • Can-Ann

    Yes, I remembered, and now I also found the place: Right-click on the Team Foundation Server and select "Team Foundation Server Settings" - "Source Control File Types". Thanks Bjornar!
  • Davids Learning

    I haven't used TFS Source Control much so far, but I've noticed when adding files, there is a textbox with "Exclude:" at the bottom of the dialog which contains, amongst other files, .dll files. I can't find .config there by default, but you might. This is the most obvious reason I can find so far, and might be worth to check.

    Bjornar


  • Dan Waters &amp;#91;MSFT&amp;#93;

    TFSdev, what are you doing when this error comes up

  • S&amp;#248;ren Mondrup

    if you mean me, nothing else. open vs2005 team suite

    right click on my team server name

    scroll down to Team Foundation Server Settings, click

    click on Source Control File Types...

    get the modal dialog box


  • Cyber Junkie

    Has anything come of this I suddenly am having the same issue. I used to be able to manage what type of files were checked in, but now I am getting the same dialog box.


  • Check in DLLs or else to Source Control