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
2009-02-14 19:17:33