How to debug “Could not load file or assembly” runtime errors?

后端 未结 6 1989
孤城傲影
孤城傲影 2020-12-03 16:56

I have a project that uses a Java library converted using IKVM. I added the created DLL plus all possible IKVM DLLs as references to my project, but when I run it, I get the

6条回答
  •  隐瞒了意图╮
    2020-12-03 17:32

    You can diagnose that by using Fusion Log Viewer (available in the Microsoft SDK). Launch it in Administrator and activate the log in the Settings.

    It will log all the informations regarding your references loading (and all their references). It will explicitly tell you which reference is missing and where it has searched for it.

    MSDN on Fusion Log Viewer

提交回复
热议问题