A
andrew.bell.ia
Hi,
I am building my application with the csc compiler from the command
line. I am linking in a dll (GuiUtils.dll) which is not in the current
directory. The command line looks like:
csc /referece:c:/foo/bar/GuiUtils.dll *.cs
When I go to run the program, I get an error like:
Unhandled Exception: System.IO.FileNotFoundException: File or assembly
name 'Gui
Utils, Version=1.0.1895.18096, Culture=neutral, PublicKeyToken=null',
or one of
its dependencies, was not found.
File name: 'GuiUtils, Version=1.0.1895.18096, Culture=neutral,
PublicKeyToken=nu
ll' ---> System.IO.FileNotFoundException: The system cannot find the
file specif
ied.
at NRI.Scan.MainForm.Main()
Can someone please explain what I am missing when I build that causes
this problem? Does the dll get sucked into the .exe? If not, can it
be? Is it somethinge else?
Thanks,
-- Andrew Bell
(e-mail address removed)
I am building my application with the csc compiler from the command
line. I am linking in a dll (GuiUtils.dll) which is not in the current
directory. The command line looks like:
csc /referece:c:/foo/bar/GuiUtils.dll *.cs
When I go to run the program, I get an error like:
Unhandled Exception: System.IO.FileNotFoundException: File or assembly
name 'Gui
Utils, Version=1.0.1895.18096, Culture=neutral, PublicKeyToken=null',
or one of
its dependencies, was not found.
File name: 'GuiUtils, Version=1.0.1895.18096, Culture=neutral,
PublicKeyToken=nu
ll' ---> System.IO.FileNotFoundException: The system cannot find the
file specif
ied.
at NRI.Scan.MainForm.Main()
Can someone please explain what I am missing when I build that causes
this problem? Does the dll get sucked into the .exe? If not, can it
be? Is it somethinge else?
Thanks,
-- Andrew Bell
(e-mail address removed)