Microsoft ALM event to Black Marble offices on the 26th of November

Black Marble is hosting a free Microsoft ALM event at our offices on the 26th of November. For once I will not be speaker, Giles and Colin from the Microsoft UK Visual Studio Team are coming up to deliver the session. For more details and registration see http://bit.ly/ALMLeeds

October 15, 2014 · 1 min · Richard Fennell

Experiences using a DD-WRT router with Hyper-V

I have been playing around with the idea of using a DD-WRT-V router on a Hyper-V VM to connect my local virtual machines to the Internet as discussed by Martin Hinshlewood in his blog post. I learned a few things that might be of use to others trying the same setup. What I used to do Prior to using the router I had been using three virtual switches on my Windows 8 Hyper-V setup with multiple network adaptors to connect both my VMs and host machine to the switches and networks...

October 7, 2014 · 6 min · Richard Fennell

Version stamping Windows 8 Store App manifests in TFS build

We have for a long time used the TFSVersion custom build activity to stamp all our TFS builds with a unique version number that matches out build number. However, this only edits the AssemblyInfo.cs file. As we are now building more and more Windows 8 Store Apps we also need to edit the XML in the Package.appxmanifest files used to build the packages too. Just like a Wix MSI project it is a good idea the package version matches some aspect of the assemblies it contains....

October 7, 2014 · 2 min · Richard Fennell

Updated blog server to BlogEngine.NET 3.1

Last night I upgraded this blog server to BlogEngine.NET 3.1. I used the new built in automated update tool, in an offline backup copy of course. It did most of the job without any issues. The only extra things I needed to do was Removed a <add name=“XmlRoleProvider” …> entry in the web.config. I have had to do this before on every install. Run the SortOrderUpdate.sql script to add the missing column and index (see issue 12543) Once done and tested locally I upload the tested site to my production server....

October 1, 2014 · 1 min · Richard Fennell

Swapping the the Word template in a VSTO project

We have recently swapped the Word template we use to make sure all our proposals and other documents are consistent. The changes are all cosmetic, fonts, footers etc. to match our new website; it still makes use of the same VSTO automation to do much of the work. The problem was I needed to swap the .DOTX file within the VSTO Word Add-in project, we had not been editing the old DOTX template in the project, but had created a new one based on a copy outside of Visual Studio....

September 22, 2014 · 2 min · Richard Fennell

Using MSDEPLOY from Release Management to deploy Azure web sites

Whilst developing our new set of websites we have been using MSDeploy to package up the websites for deployment to test and production Azure accounts. These deployments were being triggered directly using Visual Studio. Now we know this is not best practice, you don’t want developers shipping to production from their development PCs, so I have been getting around to migrating these projects to Release Management. I wanted to minimise change, as we like MSDeploy, I just wanted to pass the extra parameters to allow a remote deployment as opposed to a local one using the built in WebDeploy component in Release Management...

September 18, 2014 · 2 min · Richard Fennell

Speaking at PreEmptive’s event on Application Analytics in London on the 30th of September

I am speaking at PreEmptive’s event on Application Analytics in at Microsoft’s office in London on the 30th of September. There are various speakers from PreEmptive, Microsoft and Black Marble at this free event. There are still spaces available, just follow the link: Application Analytics with Visual Studio and PreEmptive Analytics for more details and registration.

September 18, 2014 · 1 min · Richard Fennell

“Communication with the deployer was lost during deployment” error with Release Management

Whilst developing a new Release Management pipeline I did hit a problem that a component that published MSDeploy packages to Azure started to fail. It had been working then suddenly I started seeing ‘communication with the deployer was lost during deployment’ messages as shown below. No errors were shown in any logs I could find, and no files appeared on the deployment target (you would expect the files/scripts to be deployed to appear on the machine running a RM Deployment client in the C:users[account]localtempRM folder structure)....

September 18, 2014 · 2 min · Richard Fennell

Moving our BlogEngine.NET server to Azure

As part of our IT refresh we have decided to move this BlogEngine.NET server from a Hyper-V VM in our office to an Azure website. BlogEngine.NET is now a gallery item for Azure website, so a few clicks and your should be up and running. However, if you want to use SQL as opposed to XML as the datastore you need to do a bit more work. This process is well documented in the video ‘Set BlogEngine....

September 16, 2014 · 4 min · Richard Fennell

Publishing more than one Azure Cloud Service as part of a TFS build

Using the process in my previous post you can get a TFS build to create the .CSCFG and .CSPKG files needed to publish a Cloud Service. However, you hit a problem if your solution contains more that one Cloud Service project; as opposed to a single cloud service project with multiple roles, which is not a problem. The method outlined in the previous post drops the two files into a Packages folder under the drops location....

September 10, 2014 · 2 min · Richard Fennell