H
HONOREDANCESTOR
I have a vb 'solution' which has 2 projects, one of which produces an
exe, and one of which produces a dll. (The exe uses the dll). When I
click on Debug/Start-without-debugging, it works well. But if I close
Visual Studio, and then double click on the 'exe', I get into
trouble. An error message comes up saying:
"System.IO.FileNotFoundException: Could not load file or assembly
'clslib' or one of its dependencies."
It sounds like either the exe cannot locate the dll, or the dll itself
cannot locate some of its dependencies (it depends on several dlls I
got from a developer).
But I'm not sure what I should do about this. Should I make a new
directory, and copy the exe, the dll, and all dependent dlls to that
directory? And why does it work when run from within Visual Studio?
Thanks,
HA
exe, and one of which produces a dll. (The exe uses the dll). When I
click on Debug/Start-without-debugging, it works well. But if I close
Visual Studio, and then double click on the 'exe', I get into
trouble. An error message comes up saying:
"System.IO.FileNotFoundException: Could not load file or assembly
'clslib' or one of its dependencies."
It sounds like either the exe cannot locate the dll, or the dll itself
cannot locate some of its dependencies (it depends on several dlls I
got from a developer).
But I'm not sure what I should do about this. Should I make a new
directory, and copy the exe, the dll, and all dependent dlls to that
directory? And why does it work when run from within Visual Studio?
Thanks,
HA