user310291
user310291

Reputation: 38220

Why TFS doesn't add some DLL in Bin Directory?

When I added a whole solution in TFS, it didn't add one dll, I then have to add it manually.

Is there something that prevents it from doing so ?

Upvotes: 2

Views: 2837

Answers (4)

MaciejLisCK
MaciejLisCK

Reputation: 3984

The problem is that you have binded the project to IIS. And IIS block access to some DLLs.

If you using Visual Studio 2012 and you can't add the files to TFS just exclude a file, add to repository, include file and check in.

Upvotes: 0

timB33
timB33

Reputation: 1987

As Ryan said when adding to the repository certain filers are applied, e.g. you have to explicitly add dlls to the repos. See this

Upvotes: 0

Jennifer Zouak
Jennifer Zouak

Reputation: 1348

Considering only 1 DLL was rejected out of several, it sounds like a TFS bug. I know don't be shocked... there are actually a few of these.

For example, I have text files get removed from my solution when I use "undo checkout". Unfortunately that problem is unpredictable, so no fix yet.

TIP: Always diff your solutions and projects before you check them in.

Upvotes: 1

Ryan Cromwell
Ryan Cromwell

Reputation: 2613

How did you add the solution? The Add Items button will exclude a number of items through the filters you see in the dialog. There are two tabs there : Included & Excluded. When adding things to source control this way, you'll need to check the excluded tab for anything caught by the filter like 3rd party libraries.

If you used Add Solution to Source Control, I'm not entirely sure. If the dlls were in a project or a solution folder they should have been added. Again, if you give more details (step by step) I can help a little more.

Upvotes: 2

Related Questions