Browse by Tags

Workaround for TF900546: An unexpected error occurred while running the RunTests activity
Wed, May 1 2013 9:01
The problem I have been working on a project that contains SharePoint 2010 WSP packages and a MSI distributed WPF application. These projects are all in a single solution with their unit tests. I have been getting a problem with our TFS 2012.2 build system, all the projects compile but at the test point I get the unhelpful TF900546: An unexpected error occurred... Read More...
More thoughts on addressing TF900546 ‘Unable to load one or more of the requested types’ on TFS2012
Mon, Nov 12 2012 5:33
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... Read More...
New video on unit testing in VS2012 and TFS
Mon, Oct 8 2012 7:23
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 Read More...
TFS Test Agent cannot connect to Test Controller – Part 2
Mon, Oct 1 2012 16:33
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... Read More...
Type ‘InArgument(mtbwa:BuildSettings)’ of property ‘BuildSettings’ errors in TFS 2012 RTM builds
Thu, Aug 30 2012 9:30
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... Read More...
TF900546 error on a TFS 2012 build
Thu, Aug 9 2012 6:27
Whilst moving over to our new TFS 2012 installation I got the following error when a build tried to run 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.'. This was a new one on me, and nothing of much use on... Read More...
Getting Typemock Isolator running within a TFS 2012 build
Sat, Aug 4 2012 6:01
I have posted in the past about getting Typemock Isolator to function within the TFS build process . In TFS 2008 it was easy , you just ran a couple of MSBUILD tasks that started/stopped the Typemock Isolator inception process (the bit that does the magic other mocking frameworks cannot do). However with TFS 2010’s move to a windows workflow based build model... Read More...
Two problems editing TFS2012 build workflows with the same solution
Mon, Jul 30 2012 14:27
Whilst moving over to our new TFS2012 system I have been editing build templates, pulling the best bits from the selection of templates we used in 2010 into one master build process to be used for most future projects. Doing this I have hit a couple of problems, turns out the cure is the same for both Problem 1 : When adding custom activities to the toolbox Visual... Read More...
TF215097 when running a build
Thu, Jun 7 2012 12:16
I have been working on one of our build boxes today restructuring our Surface solutions to make better of Nuget. This involved upgraded the Azure SDK on the build box to the new June release , which needed a reboot halfway through the process. After the reboot and tried a new build I got the error TF215097: An error occurred while initializing a build for build... Read More...
TFS Build error, 'Index (zero based) must be greater than or equal to zero and less than the size of the argument list” when building XAML projects
Wed, May 9 2012 10:45
We had an interesting issue of late building a Surface2 application solution within a TFS 2010 build system. The solution built fine in VS2010 on both my development PC and also using VS2010 on my TFS build box (both Windows 7 64bit PC), so I know I had all the right SDKs in place. However if I built it via TFS 2010 Team Build I got the error App.xaml (136):... Read More...
‘Showing a modal dialog box or form when the application is not running in UserInteractive mode’ error upgraded to TFS build extensions 1.2.0.0
Tue, Jan 17 2012 9:14
Whilst upgrading a TFS 2010 build today to the new 1.2 release of the Community TFS Build Extensions we hit an issue. All seemed to go OK until the build tried to use the StyleCop activity, which failed with the error Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification... Read More...
Access denied when running a command with InvokeProcess in a TFS team build
Fri, Nov 18 2011 10:33
When you are trying to run a command line tool via the InvokeProcess activity in a TFS 2010 Team build you might see the somewhat confusing ‘Access denied’ error. There appears to be no more detail in the log. I have found that this is usually down to a type on the filename property of the activity. It should be set to something like “c:\my tools\tool.exe” but... Read More...
Using Nuget and TFS Build 2010
Mon, Oct 17 2011 5:38
At one of our recent events I was asked if I had any experience using Nuget within a TFS 2010 build. At the time I had not, but I thought it worth a look. For those of you who don’t know Nuget is a package manager that provides a developer with a way to manage assembly references in a project for assemblies that are not within their solution. It is most commonly... Read More...