Writing some async unittests in combination with structuremap gave me an ugly exception
System.MissingMethodException: Method not found: ‘Void StructureMap.AutoMocking.AutoMocker`1..ctor(StructureMap.AutoMocking.ServiceLocator)’.
Result StackTrace:
at StructureMap.AutoMocking.RhinoAutoMocker`1..ctor(MockMode mockMode)
After reading about the Structuremap 3.1 update the exceptions were gone. Updating the nuget to 3.1 solved it.
TLDR
update-package structuremap