+1  A: 

Hi,

actually you only specify the typename but not the assembly name in the generics argument. It should better read

  factory-method="GenerateMock<[MyNamespace.MyInterface, MyAssembly]>"

Note the square brackets to quote the full qualified typename and you need to grab a recent nightly build.

The full qualified name allows the CLR to locate the assembly containing your type. Otherwise Spring scans already loaded assemblies for that typename. If your assembly wasn't loaded yet, you experience the errormessage you face.

hth, Erich

Erich Eichinger
Thanks for that. I also realised that I'd left off the singleton="false" attribute which was making it fail. Thanks again, Confused.
Confused