TF900546, can’t run Windows 8 App Store unit tests in a TFS build

Today has been one of purging build system problems. On my TFS 2012 Windows 8 build box I was was getting the following error when trying to run Windows 8 App Store unit tests TF900546: An unexpected error occurred while running the RunTests activity: ‘Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.’. On further investigation, I am not really sure anything was working too well on this box....

November 12, 2012 · 3 min · Richard Fennell

More thoughts on addressing TF900546 ‘Unable to load one or more of the requested types’ on TFS2012

A while ago I posted about seeing the TF900546 error when running unit tests in a previously working TFS 2012 build. The full error being: TF900546: An unexpected error occurred while running the RunTests activity: ‘Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.’. Well late last week this problem came back with avengeance on a number of builds run on the same build controller/agent(s)....

November 12, 2012 · 2 min · Richard Fennell

Change in the System.AssignedTo in TFS SOAP alerts with TFS 2012

Ewald’s post explains how to create a WCF web service to act as an end point for TFS Alerts. I have been using the model with a TFS 2010 to check for work item changed events, using the work item’s System.AssignedTo field to retrieve the owner of the work item (via the TFS API) so I can send an email, as well as other tasks (I know I could just send the email with a standard alert)....

November 9, 2012 · 2 min · Richard Fennell

Cannot run coded ui test on a TFS lab due to lack of rights to the drops folder

Whilst setting up a TFS 2012 Lab management environment for Coded UI testing we got the problem that none of the tests were running, in fact we could see no tests were even being passed to the agent in the lab On the build report I clicked on the ‘View Test Results’ which loaded the result in Microsoft Test Manager (MTM) and viewed the test run log, and we saw...

November 9, 2012 · 2 min · Richard Fennell

Using IISExpress for addresses other than localhost

I recently had the need to use IISExpress on Windows 8 to provide a demo server to a number of Surface RT clients. I found this took me longer than I expected. It might be me but the documentation did not leap out. So as a summary this is what I had to do, let us say for example that I want to serve out http://mypc:1234 Make sure you have a project MyWebProject in Visual Studio that works for http://localhost:1234 using IISExpress Open the TCP port 1234 on the PC in the Control Panel > Admin Tools > Firewall Edit C:Users[current user]DocumentsIISExpressconfigapplicationhost....

November 6, 2012 · 1 min · Richard Fennell