You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I was porting JustMock's samples to Prig, I got the following exception:
System.TypeLoadException: Could not load type 'Invalid_Token.0x0100040E' from assembly 'StaticMockingSample, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
It seems that the exception is occurred when detouring the multiple assemblies that are loaded in the same AppDomain. For your information, this issue is NOT occurred when detouring mscorlib and another assembly. Because mscorlib is domain neutral, so it gives the appearance that another AppDomain from the testing program.
The text was updated successfully, but these errors were encountered:
* Metadata: [BUG FIX] To perform correctly against [Issue #13](urasandesu/Prig#13) at Prig, change the determination process to not only use the original `AssemblyMetadata` equivalence but also the saved `AssemblyGenerator` equivalence when resolving `AssemblyGenerator` from `AssemblyMetadata`. At the same time, deleted the parts controlling them by some flags. On the whole, changed the setters that take the original `.*Metadata` to extract the original `.*Metadata` recursively if the passed value is `.*Generator`.
When I was porting JustMock's samples to Prig, I got the following exception:
It seems that the exception is occurred when detouring the multiple assemblies that are loaded in the same AppDomain. For your information, this issue is NOT occurred when detouring
mscorlib
and another assembly. Becausemscorlib
is domain neutral, so it gives the appearance that another AppDomain from the testing program.The text was updated successfully, but these errors were encountered: