Losing all files when moving a project in TFS Source Control

Problem Today I tried to move VS2005 solution in TFS source control from one Source Control location to another (on the same server) as I had put it in a stupid location to start with. So I unbound the source control (File -> Source Control -> Change Source Control) and then went into Source Control Explorer and deleted the directory and then committed the pending delete. This removed the files in the source control BUT ALSO the local ones on my disk, due to the workspace mapping....

July 12, 2007 · 3 min · Richard Fennell

Another stupid way to waste an hour or two.....

When developing SharePoint add-in try to remember if you put a previous version of the DLL in the GAC or not. I have just wasted a couple of hours trying to work out why a new version of a DLL is not being read from a site collection’s bin directory, when there was an old version in the GAC. Of course this would not have been an issue if I had been checking the version number properly!...

July 10, 2007 · 1 min · Richard Fennell

First thoughts on using the TFS API inside Sharepoint 2007

I have been looking at writing some SharePoint 2007 (MOSS) web parts to show information about TFS workitems. This turned out to be a bit more complex than expected. I wrote a ASP.NET 2.0 webpart using the TFS WorkItem Tracking Web Project on Codeporject as a starting point. My first WebPart just listed workitems in a project. This went OK and the webpart worked fine in a simple ASP.NET Web Part Manager based test page....

July 8, 2007 · 2 min · Richard Fennell

Good pointer to DNR TV from Colin @ DDD5

I have just watched the Dot Net Rocks TV Show that Colin Mackay recommended during his DDD5 session on Mock Objects (and posted about in his blog). I cannot agree more that it is great practical intro to using the Model/View/Presenter pattern, easy to follow and not getting bogged down as is so often the case with anything on patterns. I must get round to watching more on DNR TV, I listen to to the DNR Radio Podcats regularly but subjects like this are far easier understand when you see the code....

July 2, 2007 · 1 min · Richard Fennell

DDD5, thoughts the day after...........

After not really enough sleep it seems a good time reflect on DDD5. My session I felt my session went well, and the initial feedback was good. It is always good to be asked question all day about your session, proves it got people thinking; I certainly learnt a few tricks for TFS from these conversations. A common question I got was ‘I am using Product XYZ should a change to TFS?...

July 1, 2007 · 3 min · Richard Fennell