urasandesu / Prig

Prig is a lightweight framework for test indirections in .NET Framework.
Other
117 stars 21 forks source link

Unable to get Prig Indirectection Stub Settings from ILSpy for 3rd Party Dll #70

Closed jaisondoss closed 8 years ago

jaisondoss commented 8 years ago

Am unable to get Indirection Stub settings from ILSpy due to below error:

error

urasandesu commented 8 years ago

It seems that ILSpy.GetPrigIndirectionStubSetting.Plugin can't resolve the referenced assembly. However, it is strange... :confused: Because ILSpy will resolve the dependency automatically. For example, there is the ClassLibrary51Class1.Foo method that has one parameter of ClassLibrary5Class1 type. The type is in the referenced assembly. When you clicked the method to perform Get Prig Indirection Stub Setting, ILSpy should load the dependency automatically: untitled

Could you tell me more details how to you perform Get Prig Indirection Stub Setting? For example:

jaisondoss commented 8 years ago

Unblocking the dlls from local machine resolved the issue. image

urasandesu commented 8 years ago

Oh, I didn't notice that :fearful: I should describe that in its document, shouldn't I? Thanks for telling me the way to correct!!