Hey all,
This is a bit of a weird one, so I'll try and explain it best I can.
I have 1 dll that contains a third party library of wpf user controls (Bag o tricks). In my framework dll, I added this dll and reference it. I then made my own component that extends one of the components in the third party library. So far so good.
Now if someone else depends on my project, and they try and use the component I offer (that extends the third party component), the following error is thrown:
'Cannot resolve dependency to assembly 'J832.Wpf.BagOT ricksLib, Version=0.0.0.0 , Culture=neutral , PublicKeyToken= null' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyA ssemblyResolve event.
Is there something I am doing wrong? I figure that if they use my control, that control should have loaded the dll and should know how to use it?
Any ideas would be much appreciated.
Cheers,
This is a bit of a weird one, so I'll try and explain it best I can.
I have 1 dll that contains a third party library of wpf user controls (Bag o tricks). In my framework dll, I added this dll and reference it. I then made my own component that extends one of the components in the third party library. So far so good.
Now if someone else depends on my project, and they try and use the component I offer (that extends the third party component), the following error is thrown:
'Cannot resolve dependency to assembly 'J832.Wpf.BagOT ricksLib, Version=0.0.0.0 , Culture=neutral , PublicKeyToken= null' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyA ssemblyResolve event.
Is there something I am doing wrong? I figure that if they use my control, that control should have loaded the dll and should know how to use it?
Any ideas would be much appreciated.
Cheers,
Comment