New video on unit testing in VS2012 and TFS

A video has just be uploaded that I did on the new unit testing features in Visual Studio and TFS 2012. This is quick 10 minute introduction to some of the material I will be covering at DDDNorth next weekend. Hope you find it useful

October 8, 2012 · 1 min · Richard Fennell

More fun with creating TFS 2012 SC-VMM environments

Whilst setting up new a new SC-VMM based lab environment I managed to find some new ways to fail above and beyond the ones I have found before. We needed to build a new environment for testing CRM application, this needed to have its own DC, IIS server and a CRM server. The aim was to have this as a network isolated environment, but you have to build it first as the various VMs....

October 5, 2012 · 4 min · Richard Fennell

Getting a SQL LocalDB to create an ASPNETDB data base without aspnet_regsql

I started working today on a solution I had not worked on for a while. It makes use of an ASP.NET web application as a site to host SharePoint webparts (using Typemock to mock out any troublesome calls). The problem I had was that when I opened this VS2010 solution in VS2012 I could not run up this test web site. As the test web pages have WebpartManager controls it needs an ASPNETDB in the AppData folder to persist the settings data....

October 2, 2012 · 2 min · Richard Fennell

TFS Test Agent cannot connect to Test Controller – Part 2

I posted last week on the problems I had had getting the test agents and controller in a TFS2012 Standard environment talking to each other and a workaround. Well after a good few email with various people at Microsoft and other consultants at Black Marble I have a whole range of workarounds solutions. First a reminder of my architecture, and note that this could be part of the problem, it is all running on a single Hyper-V host....

October 1, 2012 · 3 min · Richard Fennell

TFS Test Agent cannot connect to Test Controller gives ‘No connection could be made because the target machine actively refused it 127.0.0.1:6910’

Updated 1st October – See the Part 2 post which provides more workaround solutions Whilst setting up a TFS 2012 Standard Lab Environment for an upcoming demo I hit a problem. Initially my environment had worked fine, I could deploy to my server VM in the environment without error. However, after a reboot of the TFS server (which has the build and test controllers on it) and the single server VM in the environment, the test agent on the VM could not connect to the test controller on the TFS SERVER....

September 29, 2012 · 2 min · Richard Fennell

Release of Typemock Isolator Basic edition

Some great news today from Typemock, there is now a free basic edition of Typemock Isolator. The addresses a key historic problem with Isolator, that of its cost when you don’t need the advanced features of Isolator all the time. Now if you need the cool advanced mocking features of Isolator, such as mocking sealed private classes, then the cost is not really a factor, you buy the product or don’t get the features....

September 27, 2012 · 2 min · Richard Fennell

Experiences upgrading an MVC 1 application to MVC 3

I have recently had to do some work on a MVC 1 application and thought it sensible to bring it up to MVC 3, you don’t want to be left behind if you can avoid it. This was a simple data capture application written in MVC1 in Visual Studio 2008 and never needed to be touched since. A user fills in a form, the controller then takes the form contents and stores it....

September 5, 2012 · 5 min · Richard Fennell

Update on my experiences with Lenovo W520 Drivers and Windows 8

After I installed Windows 8 RTM I still had two devices missing drivers. I have made a little progress Base System Device - was the Ricoh PCIe SDXC/MMC Host controller I used this Win 8 beta driver Unknown driver – seems to be the Lenovo Power Management devices. However the Win 8 Beta driver fails to install. I had to use the Windows 7 driver, installed OK and seems to show the right information in the tool tray, but in Device Manager it still says the unknown driver....

September 3, 2012 · 1 min · Richard Fennell

Its events time again

if you missed yesterdays DDD10, as I did, then don’t worry. You can come to DDD North in Bradford at the University Management Centre on the 13th of October. There is another great set of speakers, I was lucky enough to get my session on Unit Testing and Fakes in VS2012 accepted. Hope to see you there Also my company Black Marble as announced our free autumn and winter events, check them out on our events page....

September 2, 2012 · 1 min · Richard Fennell

Type ‘InArgument(mtbwa:BuildSettings)’ of property ‘BuildSettings’ errors in TFS 2012 RTM builds

I posted a while ago that you saw errors when trying to edit TFS 2012RC build process templates in VS 2012RC if the Visual Studio class library project you were using to manage the process template editing was targeting .NET 4.5, it needed to be 4.0. Well with Visual Studio 2012 RTM this is no longer the case, in fact it is the other way around. I have recently upgraded our TFS 2012 RC –> RTM and I today came to edit one of our build process templates (using the standard method to edit a process template with custom activities) and got the following error when I tried to open the XAML process template for editing...

August 30, 2012 · 2 min · Richard Fennell