Interesting problem when using IVsSccEnlistmentPathTranslation

One of the less recognized features of TFS integration with Visual Studio, is that we track how selection changes in Solution Explorer and we update Team Explorer accordingly. The motivation is that when you use Team menu, to for example create work item, you want to do it in the most probable team project –…

0

Project system integration with version control – please don’t optimize too much!

Motto for today is: “We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil” Visual Studio 2010 was significant for TFS version control for many reasons (biggest being probably schema change), but one that every one in the division was paying attention was that we…

0

"tf difference" improvements in TFS 2010

One very small annoyance that we were hitting regularly in TFS 2008 was trying to diff file which didn’t have pending change. Assuming that we want to see changes checked in on a server, we would need to specify some less than trivial parameter: “tf diff foo.txt;W~T” If there was a pending rename involved, it…

0

TFS Msscci Provider 2010 RTM

As you can read in Brian’s blog (http://blogs.msdn.com/bharry/archive/2010/04/26/tfs-2010-power-tools-have-released.aspx), we shipped RTM version of the TFS Msscci Provider (yay!). It is available here: http://visualstudiogallery.msdn.microsoft.com/en-us/bce06506-be38-47a1-9f29-d3937d3d88d6 As Mario describes on the download page, we made a few nice improvements in this release. The biggest one was adding support for Sybase extension to the msscci interface- SccQueryInfoEx function. It…

0

Version control only specific folders inside a website project (or: "TFS 2010 and DotNetNuke source control – How can I exclude folders/files from source control?")

Last week we had interesting problem described on the tfs forum: http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/f1486665-02b5-42c1-bc4d-bbc29169670f  The problem: How to version control only specific folders inside a website. Please keep in mind, we are ordinary user, not a project creator. We don’t want to reimplement GetSccFiles 🙂 We have c:\workspace\nuke website full of folders, but we want to version control…

0

Project system integration with version control – how to *not* control specific files

Controlling state of the files is a bread and butter of the scc provider’s work. However from time to time project is referencing file that should not be source controlled. It can be a generated file (like a xap file inside web application projects, or idl generated files inside cpp project) or a common file,…

0

Project system integration with version control – "All files are up to date" ????

If you are following closely Brian’s blog or history of TFS in general, you may realized that in VS 2010, for the first time, we are the default source control provider in every Visual Studio (except of Express). This, combined with dogfooding and general drive to speed up IDE, made us to do several perf…

0

Different approaches to binding solution to source control

Last Tuesday I was going through all tasks that we have open related to TFS Msscci provider, tfpt bind and bindings in general. One of the gems 😉 I found was automating the process to bind existing solution to source control. The story goes as follows: user is migrating source code to tfs. He can…

0