D
dbhurt15
Let me say first that I'm brand new to .NET
I'm having a small issue. I'm working on a large project. My part is
using a .dll located in another directory. I'm having problems
referencing to that external dll
What I'm doing right now is using this on form load:
Dim Asmpath As String = ("C:\Common\newLib.dll")
Dim Asm As System.Reflection.Assembly =
System.Reflection.Assembly.LoadFrom(Asmpath)
but when I debug i get this exception:
Could not load file or assembly 'newLib, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=ae2fc87ca760880d' or one of its
dependencies. The system cannot find the file specified.
I know I must be using Assembly.LoadFrom wrong or am leaving something
else out. Any ideas to help along?
I'm having a small issue. I'm working on a large project. My part is
using a .dll located in another directory. I'm having problems
referencing to that external dll
What I'm doing right now is using this on form load:
Dim Asmpath As String = ("C:\Common\newLib.dll")
Dim Asm As System.Reflection.Assembly =
System.Reflection.Assembly.LoadFrom(Asmpath)
but when I debug i get this exception:
Could not load file or assembly 'newLib, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=ae2fc87ca760880d' or one of its
dependencies. The system cannot find the file specified.
I know I must be using Assembly.LoadFrom wrong or am leaving something
else out. Any ideas to help along?