FileNotFoundException when loading dll

前端 未结 3 502
伪装坚强ぢ
伪装坚强ぢ 2020-12-12 04:51

When I try to execute my program I receive FileNotFoundException, howerver dll exist in the same folder. How is that possible and how to fix the problem? Output below transl

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-12 05:45

    I was getting same error when the file has been blocked by Windows since it's been copied from another computer. Right click on the dll file and click on "Unblock" button from the security tab

    See https://superuser.com/questions/38476/this-file-came-from-another-computer-how-can-i-unblock-all-the-files-in-a

提交回复
热议问题