Binaries from Website bin directory is still getting added to source control

I've a Solution with a Web Project which has project references within the same solution, when I first added the solution to the source control, all the assemblies, PDB files from the website bin directory got added to the Source control, I had to manually delete them, I thought this was fixed..but its still happening..is this a known issue ? - Thanks, Krishna
[364 byte] By [Krishnaswin] at [2008-1-10]
# 1
Are you using Beta3 bits or something else?
Anutthara at 2007-10-3 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 2

In case you are using Beta3, can you please send us the exact repro steps? I tried to repro this problem but could not.

Thanks
Nagaraju

NagarajuPallaMSFT at 2007-10-3 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 3
I just wanted to confirm that this bug is supposed to be fixed in Beta 3.
Please post repro steps if you are encountering this scenario with Beta 3 binaries.
Thanks,
Ben Ryan
BenRyan at 2007-10-3 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 4

Yes I have TFS Beta 3. Here is what I did :-

1) Installed VS RC 1

2) Compiled my solution that had the Web Project and other Class Libraries. The web site has Project references to these libaries.

3) Installed Team System Foundation Server on a different machine

4) Installed TFS Client on the machine that had VS RC 1

5) Connected to Team System Server from within VS RC1

6) Created a Team System Project

6) Right Clicked on Solution, Selected the "Add to Source Control.." Option

7) When I opened the Team Explorer I noticed that all the assemblies under "bin" directory for the website in the source control.

8) I manually deleted them from the Source Control.

Hope this helps.

Thanks,

Krishna

Krishnaswin at 2007-10-3 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 5
Hi Krishna - I am unable to repro this for the same config, but I will forward this to the appropriate person for the right answer. Thanks for your repro.

- Anu

Anutthara at 2007-10-3 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 6
I have tried to reproduce this bug several times using Beta 3 code and have been unable to recreate the issue. I've tried with the assemblies present in the Bin folder before I Add to Scc. I've also tried where there was no Bin folder when I did the Add to Scc and checkin, but I did a later build that made them appear. In all cases, the assemblies in the Bin directory were not added to Source Control.

A few questions:
1) Did you build your solution before or after you did the Add to SCC and checked in (i.e. were the files already present at the time you did Add to SCC or are they being added later)?

2) What language are you using for the web project and class library (e.g. C#, VB)?

3) Was this solution created with Beta 3 or is this one you had created with an earlier version of Whidbey?

Thanks,
Ben Ryan

BenRyan at 2007-10-3 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 7
If it makes you feel any better, Krishnaswin, I am having a similar problem.

In a group development environment, I have been given responsibility for Source Control of our new ASP.NET 2.0 project (using Sourcegear VAULT).
We have a Solution that contains many projects and a single Website.
It was placed in source control (VAULT has exclusions set for *.dll and the BIN directory) and all is well.
I have created some tests on one of the supporting C#/DLL and, when I try to run the test, this message appears:

Error 1 Cannot copy assembly 'BusinessLogicCommon.dll' to file 'C:\Projects\NET\nIDE\nIDE\Bin\BusinessLogicCommon.dll'. Unable to add 'C:\Projects\NET\nIDE\BusinessLogicCommon\obj\Debug\BusinessLogicCommon.dll' to the Web. Unable to add file 'Bin\BusinessLogicCommon.dll'. Access is denied.
C:\...\nIDE\

The source control DOES NOT contain any of the files (including this named DLL) in the BIN directory. I have a local copy of the DLL on my machine, in the working directory.

Prowling the MSDN for help I found this thread and it appears to be related to the problem I am currently facing.

Please help us both.

ParkinT at 2007-10-3 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 8
Hi ParkinT,

A stab in the dark but I am having a similar problem to yours "Cannot copy assembly" Can you remember what the solution was?

whytepaul at 2007-10-3 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...

Visual Studio Team System

Site Classified