For that kind of problem, to find the root cause. Debugging with the repro is the best way.
Per my understanding, the cause could be any number of things. Likely causes are:
- The assembly cannot be found
- An assembly that your assembly depends upon cannot be found
- The assembly is found but the type isn't in it
- The type's static constructor throws an exception
Please try to use Fuslogvw.exe (Assembly Binding Log Viewer) to diagnose why the .NET Framework cannot locate an assembly at run time.
https://msdn.microsoft.com/en-us/library/e74a18c4(v=vs.110).aspx
Hope this helps.
Best regards,
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.