Does anyone of you ever try to check in your binary files for versioning We have this habit since the day when we work on VB projects. Since COM versioning is very important, we have very clear habit to keep different versions of the DLLs.
Now in .net, with VS.NET 2003, we realize there is a very strange behaviour which prevents binary files checking from working properly.
Lets say, we have 3 projects:
ClassLibrary1, ClassLibrary2, WindowsApplication1
-->: reference
ClassLibrary2 --> ClassLibrary1
WindowsApplication1 --> ClassLibrary1, ClassLibrary2
When I have checked out all WindowsApplication1 binary files, while leaving ClassLibrary1 and ClassLibrary2 binary files as read only, I would not be able to compile WindowsApplication1. A message saying it cannot find ClassLibrary1 and ClassLibrary2 reference. The cause behind is when VS.NET tries to build WindowsApplication1, ClassLibrary2 is triggered to be build as well, which is not possible since ClassLibrary2 is read only. However, practically I never changed any source codes inside ClassLibrary2, so in fact its not making sense to rebuild that project.
Thus, if I keep checking in the binaries I have a hard time to build files.

A problem about binary file source safe versioning
anton pakhomov
Build... Configuration Manager... Active Solution Configuration dropdown... <New...> Give it a name and which template to copy from. Then uncheck the "Build" checkbox for ClassLibrary1 and ClassLibrary2. If you do make any changes to ClassLibrary1 and ClassLibrary2, you'll have to switch to the config that builds them as well as check out the binaries from VSS.
musichenryviolin
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=287570&SiteID=1
I found RapidSVN too, and although it looked good, and worked reasonably well, it didn't have an option for changing its internal working directory from ".svn" to "_svn" as required( ) by .NET web projects. So I use SmartSVN instead, which handles that well. ... even though it's written in Java... (Read into that statement what you will!)
I agree that TortoiseSVN is pretty good, so I wrote a .NET VS.NET add-in to use the Tortoise SVN commands (diff, repo browser, check for modifications etc.) instead of using Ankh SVN.
'NIXy's not so bad - you never know when you might need one of those extra command line switches to solve some problem that you never knew you had!
vvill
How does Team System work with binaries What about VSS 7
Duckfoot
muga
Madhu Ponduru ----MSFT
BillTodd
I've migrated all of my work from VSS6 to Subversion, and it works a treat. It'd be good if there was a UI tool similar to the VSS Repository Explorer, but I've found SmartSVN, and it does the job.
I do miss the VSS recursive Directory comparison tool, and although WinDiff has such a feature, it can't really be integrated with Subversion, because a local version of every directory of SVN's latest version (highest version/HEAD) would have to be stored in one directory locally.
Anyway, a bit off topic.
Thanks for the reply.
Yuval Rakavy
I think all of the hooks are in the right place, just a nice layer of paint, and a few bug fixes (and perhaps a bit more integration between products - eg. clients), and it'd all work well. The clients (ie. repository interfaces) shouldn't really be competing with each other, as there's nothing to gain - except perhaps a bit of prestige (my product's better than yours), but from what I've read, that doesn't seem to be the case.
It seems many-a-time the case with software that you'll get a product that meets nearly all of your needs, except for one or two critical factors (I've got the SVN product that you mentioned in mind, with its inability to support the '_svn' directory).
Kevin MacDonald
- permood
my name is KN
- No integration with Windows security (Active Directory or NTLM). This is a major pain because I've now got to manage users in another place. I've seen authentication for SVN implemented using LDAP and AD can expose itself via LDAP. Unfortunately this requires additional setup. Also I haven't seen SVN do authorization (i.e. you can read from branches, but you can't create one), only use LDAP for autentication (i.e. who the heck are you).
- Quirky versioning issues. I've often had problems with repositories created with previous versions working seamlessly with newer versions of the client. Maybe it's just me, but I've often had to dig through documentation and/or google to get my old repositories working again. I'm a developer. So I understand the need to occassionally make breaking changes. I would appreciate some upgrade tool or even batch file so I don't have to dig through the inner workings of SVN just to be able to browse my old repos.
I would wholeheartedly agree wit your opinion regarding competing UIs. They really serve no purpose other than to fragment the available free developer bandwidth to develop them. (I could say the same thing about the plethora of Linux distros, but I don't want to start a flamewar. But just for a second imagine if everyone working on a Linux distro started investing his/her efforts in a single one. Microsoft just might have a competitor then.) :)vikasamin
Pete Cotton
1. Create new configration (e.g. 'Final')
2. Build
3. Check in all binaries
4. Check out WindowsApplication1 binaries in Final
5. Build again- it is successful, notice the read only files in ClassLibrary1 and ClassLibrary2 are overwritten.
6. Check in WindowsApplication1 binaries
7. Get all binaries to make it back to read only again
8. Close VS.NET
9. Open VS.NET again, check out WindowsApplication1 binaries
10. Build again
Dada.... same problem happen again....
Someone from MS can tell us what to do
thecolour
To be honest, it is generally not a great idea to check binaries into VSS as versioning of binary files is poor in VSS. Each check-in of a binary file is a completely new version even if only a single bit has changed. (Subversion, Vault, and other source control products do a much better job with binary files. You get real diffs even on binaries.)
If you're looking for recommendations from Microsoft, read "Team Development with Visual Studio .NET and Visual SourceSafe":
http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnbda/html/Tdlg_rm.asp