How to programmatically check in and out from StarTeam using .NET
Background I recently had a need at my job to programmatically check out some files from a StarTeam repository, modify them and check them back in. Note that I don’t mean the regular use of a source code repository where you check things in and out from your IDE as you work on them. I’m talking about writing a program that checks the file out, modifies it and checks it back in. I knew that StarTeam had an SDK that would allow programmatic access to files under source control and after looking around I found that it could be used with .Net. What I couldn’t find was anything telling exactly how to check files in and out via the .Net SDK. So after playing around with it a while I finally figured it out and decided to post this so that others wouldn’t have to go through the trouble I did. What You'll Need To access a StarTeam repository from .Net you need to download and install the StarTeam SDK for .Net . Currently you can find it on the Borland StarTeam Download page. (I also ha...