Running one application I receive such error:
C:\Program Files\P2CGate\sdk\samples\net\basic>nsend.exe
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or ass
embly 'cgate_net, Version=0.9.10.31381, Culture=neutral, PublicKeyToken=null' or
one of its dependencies. Не удается найти указанный файл.
at send.Send.Main(String[] args)
The message is too generic, because I don’t know exactly what can not be loaded. It seems cgate_net is loaded because I do see some details Version=0.9.10.31381.
So I guess some of dependencies can not be loaded, but which one exactly?
Without knowing what can not be loaded I do not know how can I fix this problem. Why C# doesn’t print what exactly can not be loaded and how to obtain this information?
If an assembly or one of its dependencies fails to load, you can see more details by looking at the Fusion logs:
See also this related question: