Load a dll from shared network drive in C#

后端 未结 3 1772
日久生厌
日久生厌 2020-12-19 17:58

I am able to load the dll using this form -

System.Reflection.Assembly assembly =
System.Reflection.Assembly.LoadFile(@\"C:\\Users\\amit.pandey\\Documents\\         


        
3条回答
  •  孤城傲影
    2020-12-19 18:11

    You need to tell the machine to trust that location.

    You can do this with the caspol utility.

提交回复
热议问题