MSBuild Inline Tasks to the rescue


A colleague (Pål Bendiksen) recently asked if there was an MSBuild task available to checkin pending changes in a Team Foundation Server workspace and get the check-in id. Looking at the MSBuild Extension Pack I saw no solution. Another solution would be to exec out to tf.exe, however there are complexities with scraping the output…

Running Targets in Parallel in MSBuild


UPDATE: 07 March 2012 – a task to run targets in parallel is now provided in the MSBuild Extension Pack. See ‘Executing MSBuild Targets in Parallel‘ MSBuild doesn’t support running targets in parallel, but rather supports running projects in parallel. I was recently shown a ‘trick’ by Dan Moseley of the MSBuild team in getting…

Various Gems


Whilst moving my blog I reminded myself about some great resources: Tips, Tricks, and Advice from the SQL Server Query Processing Team Stefan Delmarco’s SQL series WMI Code Creator LinqPad Programming Guide for 64-bit Windows

LINQPad


If you are looking at Getting Started with LINQ, you may want to download LINQPad “LINQPad supports everything in C# 3.0 and Framework 3.5: LINQ to SQL  LINQ to Objects LINQ to XML LINQPad is also a great way to learn LINQ: it comes preloaded with 200 examples from the book, C# 3.0 in a…

Programming Guide for 64-bit Windows


If you are about to start running 32-bit applications on 64-bit Windows, take a read of this guide: Programming Guide for 64-bit Windows Hopefully that will spare you the initial confusion regarding the File System and Registry Redirectors! …

MSBuild task to build VB6


UPDATE: 01 Feb 2010 — This task is now available in the MSBuild Extension Pack This is not something I thought I would write, but it seems that there are still many out there who have VB6 in their code base and need to have that code built as part of their build process. There…