Castle DynamicProxy – Failure when creating proxy involving a GTP used as a GTR
I’m not a Castle expert nor compiler guru, but I believe the issue is a little bit of magic that is hidden inside the RhinoMocks.Tests assembly: From https://github.com/ayende/rhino-mocks/blob/master/Rhino.Mocks.Tests/TestInfo.cs using System.Runtime.CompilerServices; using Rhino.Mocks; [assembly: InternalsVisibleTo(RhinoMocks.StrongName)] And for completeness sake, RhinoMocks.StrongName is defined as: /// <summary> /// Used for [assembly: InternalsVisibleTo(RhinoMocks.StrongName)] /// Used for [assembly: InternalsVisibleTo(RhinoMocks.NormalName)] /// … Read more