Visual Studio (VS2005) doesn’t comes with a fair bit of Source Safe integration but it also has some annoying traits.
The default behaviour of checking out a single project is to also check out all the files within it. Ok it only takes a few mouse clicks to stop this but it’s annoying. However, this is really frustrating when you’re working on a solution with 10s or 100s of projects. So I wrote a quick macro to avoid these issues, and it goes something like this…
The default behaviour of checking out a single project is to also check out all the files within it. Ok it only takes a few mouse clicks to stop this but it’s annoying. However, this is really frustrating when you’re working on a solution with 10s or 100s of projects. So I wrote a quick macro to avoid these issues, and it goes something like this…
Dim currentProject as EnvDTE.Project
for each currentProject in DTE.Solutions.Projects
DTE.SourceControl.CheckOutItem(currentProject.FullName)
next