Help! My build broke after Windows Updates!

On October 14th, 2014, Microsoft released several patches for ASP.NET. Three of these were for MVC, and they had some nasty side effects for the project I’m currently on. I will explain the three snags we hit with this update and how we solved them.

The updates in question are: 2993937 (MVC 3.0), 2993928 (MVC 4.0) and 2992080 (MVC 5.0).

MVC solution won’t compile anymore

This is the most obvious of the three. After installing the update, we got all sorts of compiler errors, like:

Could not locate the assembly "System.Web.Mvc,Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35,processorArchitecture=MSIL"

This error is sort of buried in all kinds of resulting errors:

The type or namespace name 'Controller' could not be found (are you missing a using directive or an assembly reference?)

Continue reading

Persisting business data in MS Workflows

At my current job we have built an application that supports long running processes (up to about 8 months) using Microsoft Workflow Foundation. We have currently made about 15 releases in 2 years, with an ever changing process definition. In this post I will explain one of the most important lessons we have learnt during this time.
Continue reading