DLL's getting added to SCC (web service project)
Moderator: SourceGear
DLL's getting added to SCC (web service project)
I have "some" DLL's that keep getting added to Vault, primarily System.*.DLL's, not my referenced DLL's I set in the project manually.
*.dll is set as an exclusion, as well as the bin folder, but in my web service project they keep getting added!
*.dll is set as an exclusion, as well as the bin folder, but in my web service project they keep getting added!
- Attachments
-
- RepositorySettings.jpg (77.22 KiB) Viewed 7595 times
Neal Culiner
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
I'm using VS 2005 with SP1 (Vista).
I'm using the "Legacy" client, I wouldn't touch the VSIP client with a 10 foot pole!
I'm using the "Legacy" client, I wouldn't touch the VSIP client with a 10 foot pole!
Neal Culiner
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
Neal:
A quick note - Visual Studio's MSSCCI implementation has a "feature" (or what I would call a bug) that adds the bin\ and obj\ directories to SCC. The problem has been logged on a Visual Studio bug list. We're hopeful Microsoft will fix this problem in a future release of Visual Studio.
A quick note - Visual Studio's MSSCCI implementation has a "feature" (or what I would call a bug) that adds the bin\ and obj\ directories to SCC. The problem has been logged on a Visual Studio bug list. We're hopeful Microsoft will fix this problem in a future release of Visual Studio.
Jeff Clausius
SourceGear
SourceGear
What is the purpose of the exclusions in a Repository then? Shouldn't it still PREVENT the addition to vault? Shouldn't there be a "middle tier" that prevents excluded files from being consumed by Vault?
Neal Culiner
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
The exclusionary list is applied to a grouping of sub-files when using the Vault "Add Folder" command.
However, the Microsoft MSSCCI interface only sends requests one file at a time ("Add File" and "Create Folder" commands). It doesn't work at the folder level, but rather it sends commands to create files / and sub-folders one object at a time. I suppose MS implemented it this way to provide generic functionality for all types of version control systems.
However, the Microsoft MSSCCI interface only sends requests one file at a time ("Add File" and "Create Folder" commands). It doesn't work at the folder level, but rather it sends commands to create files / and sub-folders one object at a time. I suppose MS implemented it this way to provide generic functionality for all types of version control systems.
Jeff Clausius
SourceGear
SourceGear
If I have an exclusion for *.dll, why is Vault adding this file to my database? It should be skipped regardless of Microsoft, VS.NET, moon phase, etc!
Neal Culiner
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
For folders, yes; for individual files, no. The exclusionary list is only used when invoking "Add Folder". This is true for any client be it Vault, CLC, IDE , VSIP, Dreamweaver, Eclipse, or anything else.neal007 wrote:It should be skipped regardless of Microsoft, VS.NET, moon phase, etc!
For example, if you open a Vault client. Go to a directory, and invoke Add File/Folder. Now specifically choose a .dll from the file list. Notice the actions which will be taken from below. Click OK to add it, and commit the transaction. The file was added to the repository because the Vault client used the "Add File" command.
Next invoke Add File/Folder. Navigate to a bin\ folder, and specifically choose the bin\ folder. Notice what files would be added (assuming you have the same exclusions). By default, the folder's .dlls are not added because the exclusionary list is applied to the added folder.
As I said before, the Microsoft API is calling Add File and Create Folder. FWIW, the problem is not specific to Vault as other Version Control Tools have the same problem. Microsoft is aware of the problem, so we can hope they will address this at some point in the future.
Jeff Clausius
SourceGear
SourceGear
I have *.dll on a FILE EXCLUSION
I have BIN on a folder exclusion
As both the bin and the file "*.dll" is on VAULT's exclusion list, I would think the system that uploads data to Vault would BYPASS the excluded files or folders, regardless of what is going on by anyone else.
I have BIN on a folder exclusion
As both the bin and the file "*.dll" is on VAULT's exclusion list, I would think the system that uploads data to Vault would BYPASS the excluded files or folders, regardless of what is going on by anyone else.
Neal Culiner
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
-
- Posts: 3
- Joined: Mon Jul 02, 2007 3:49 am
DLL's getting added to SCC (web service project)
In a previous post on this subject - see http://support.sourcegear.com/viewtopic.php?p=32722 -
sourcegear maintained that this problem is not theirs and is a Microsoft Souce Control API issue.
Please review: http://connect.microsoft.com/VisualStud ... kID=106118
and:
http://connect.microsoft.com/VisualStud ... kID=102093
This issue WAS fixed by Microsoft in May 2005. It is still, however, a problem in Vault 4.0.1 as at July 2007
sourcegear maintained that this problem is not theirs and is a Microsoft Souce Control API issue.
Please review: http://connect.microsoft.com/VisualStud ... kID=106118
and:
http://connect.microsoft.com/VisualStud ... kID=102093
This issue WAS fixed by Microsoft in May 2005. It is still, however, a problem in Vault 4.0.1 as at July 2007
I don't recall this issue in 3.x, regardless, I thought Vault was a middle tier and could prevent things from going into the database based on Vault rules alone!
Neal Culiner
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
NC Software, Inc.
http://www.nc-software.com
Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64
VB.NET Forums: http://www.vbdotnetforums.com
Re: DLL's getting added to SCC (web service project)
If MS did fix this, then the Vault MSSCCI client will not have the problem.AndrewBingham wrote:This issue WAS fixed by Microsoft in May 2005. It is still, however, a problem in Vault 4.0.1 as at July 2007
The MS items you posted where closed as duplicates. I found this MS bug report as well - http://connect.microsoft.com/VisualStud ... kID=102149.
So, I am a little unclear if this bug was fixed and closed, or suspended, but marked fixed and closed.
FWIW, I did some internal testing, and web sites and web services created under VS 2005 with SP1 do not have this problem. However, the web sites/services are in the "new" Visual Studio 2005 model with the App_* folders. I'll try a converted VS 2003 web sites a bit later.
Jeff Clausius
SourceGear
SourceGear
Not with the Vault MSSCCI client. The Vault MSSCCI handles very simple operations - Checkout, Check In, Get, Add File, Create Folder, Show History, Rename, Move, Diff, Delete, etc.neal007 wrote:I don't recall this issue in 3.x, regardless, I thought Vault was a middle tier and could prevent things from going into the database based on Vault rules alone!
In terms of what operations are actually performed and on what objects, Visual Studio is in complete control.
Jeff Clausius
SourceGear
SourceGear
-
- Posts: 3
- Joined: Mon Jul 02, 2007 3:49 am
SP1 ain't worked for me...
Thanks for the speedy replies Jeff.
The Web Service I have this problem with WAS created using VS2005 SP1 (and so has the "app_" folder)
Nonetheless the \Bin folder is checked out when editing files in the Web Service.
I tried removing the \Bin folder from the Vault repository - next time I editied a Web Service file they were added back into the repository.
===============================================
BTW Whilst I agree that v4.0 was unusable (I suspect you released the wrong internal version.......DOH ! ) - v4.0.1 has been very stable with only a couple of minor problems which may be more to do with us not RTFM than the product itself.
The Web Service I have this problem with WAS created using VS2005 SP1 (and so has the "app_" folder)
Nonetheless the \Bin folder is checked out when editing files in the Web Service.
I tried removing the \Bin folder from the Vault repository - next time I editied a Web Service file they were added back into the repository.
===============================================
BTW Whilst I agree that v4.0 was unusable (I suspect you released the wrong internal version.......DOH ! ) - v4.0.1 has been very stable with only a couple of minor problems which may be more to do with us not RTFM than the product itself.