Setting a build version in a JAR file from TFS build

Whilst helping a Java based team (part of larger organisation that used many sets of both Microsoft and non-Microsoft tools) to migrate from Subversion to TFS I had to tackle their Jenkins/Ant based builds. They could have stayed on Jenkins and switched to the TFS source provider, but they wanted to at least look at how TFS build would better allow them to trace their builds against TFS work items....

December 16, 2014 · 2 min · Richard Fennell

Great book full of easily accessible tips to apply the concept of user stories to your team

As with many concepts it is not the the idea that is hard but it’s application. ‘Fifty Quick Ideas to Improve Your User Stories’ by Gojko Adzic and David Evans provides some great tips to apply the concept of user stories to real world problems. Highlighting where they work and where they don’t, and what you can do about it. I think this book is well worth a read for anyone, irrespective of their role in a team; it’s short chapters (usually a couple of pages per idea) means it easy to pickup and put down when you get a few minutes....

December 4, 2014 · 1 min · Richard Fennell

Can’t build SSDT projects in a TFS build

Whilst building a new TFS build agent VM using our standard scripts I hit a problem that SSDT projects would not build, but was fine on our existing agents. The error was C:Program Files (x86)MSBuildMicrosoftVisualStudiov12.0SSDTMicrosoft.Data.Tools.Schema.SqlTasks.targets (513): The “SqlBuildTask” task failed unexpectedly. System.MethodAccessException: Attempt by method ‘Microsoft.Data.Tools.Schema.Sql.Build.SqlTaskHost.OnCreateCustomSchemaData(System.String, System.Collections.Generic.Dictionary`2<System.String,System.String>)’ to access method ‘Microsoft.Data.Tools.Components.Diagnostics.SqlTracer.ShouldTrace(System.Diagnostics.TraceEventType)’ failed. The problem was fixed by doing an update via the Visual Studio > Tools > Extensions and Updates. Once this was completed the build was fine....

December 3, 2014 · 1 min · Richard Fennell

Living with a DD-WRT virtual router – one month on

I posted a month or so ago about my ‘Experiences using a DD-WRT router with Hyper-V’, well I have been living with it over a month? How has it been going? Like the curate’s egg ‘good in parts’. It seems OK for while and then everything would get a bit slow to stop. Just as a reminder this is what I had ended up with In essence, a pair of virtual switches, one internal using DHCP on the DD-WRT virtual router, and a second one connected to an active external network (usually Ethernet, as DHCP with virtual switches and WIFI in Hyper-V seem a very hit and miss affair)....

November 26, 2014 · 4 min · Richard Fennell

Why am I getting ‘cannot access outlook.ost’ issues with Office 365 Lync?

We use O365 to provide Lync messaging. So when I rebuilt my PC I thought I needed to re-install the client; so I logged into the O365 web site and selected the install option. Turns out this was a mistake. I had Office 2013 installed, so I already had the client, I just had not noticed. If you do install O365 Lync client (as well as Office 2013 one) you get file access errors reported with your outlook....

November 24, 2014 · 1 min · Richard Fennell

TFS announcements roundup

There have been a load on announcements about TFS, VSO and Visual Studio in general in the past couple of week, mostly at the Connect() event. Just to touch on a few items Visual Studio and Team Foundation Server 2013 Update 4. The first public preview of Visual Studio 2015 and .NET 2015 The .NET Framework is going open source and cross platform Visual Studio Community 2013 – a new edition of Visual Studio that combines everything in all the Express products and adds extensibility support....

November 22, 2014 · 1 min · Richard Fennell

Errors running tests via TCM as part of a Release Management pipeline

Whilst getting integration tests running as part of a Release Management pipeline within Lab Management I hit a problem that TCM triggered tests failed as the tool claimed it could not access the TFS build drops location, and that no .TRX (test results) were being produced. This was strange as it used to work (the RM system had worked when it was 2013.2, seems to have started to be issue with 2013....

November 21, 2014 · 2 min · Richard Fennell

Passed the Scaled Agile Framework assessment

Whilst over at the MVP Summit I had the chance to do a Scaled Agile Framework workshop. I am pleased to say I passed the assessment. Certainly has some interesting ideas in scaling Agile to larger teams working on a single product stream where a simple Scrum of Scrums is not enough.

November 21, 2014 · 1 min · Richard Fennell

‘Test run must be created with at least one test case’ error when using TCM

I have been setting up some integration tests as part of a release pipeline. I am using TCM.EXE to trigger tests from the command line. Something along the lines TCM.exe run /create /title:"EventTests" /collection:"[http://myserver:8080/tfs](http://myserver:8080/tfs)” /teamproject:myteamproject /testenvironment:"Integration" /builddir:[\\serverDropsBuild\_1.0.226.1975”](//\serverDropsBuild_1.0.226.1975”) /include /planid:26989 /suiteid:27190 /configid:1 I kept getting the error ‘A test run must be created with at least one test case’ Strange thing was my test suite did contains a number of test, and they were marked as active....

November 20, 2014 · 1 min · Richard Fennell

Linking VSO to your Azure Subscription and Azure Active Directory

I have a few old Visual Studio Online (VSO) accounts (dating back to TFSPreview.com days). We use them to collaborate with third parties, it was long overdue that I tidied them up; as a problem historically has been that all access to VSO has been using a Microsoft Accounts (LiveID, MSA), these are hard to police, especially if users mix personal and business ones. The solution is to link your VSO instance to an Azure Active Directory (AAD)....

November 20, 2014 · 3 min · Richard Fennell