G
Guest
Hello,
I have a doubt. I would greatly appreciate it if somebody could help me out.
I created a dll(xyz.dll) and installed it in the GAC using GACUtil.exe. Now,
I want to use the dll for my application(abc.exe). Both the compilation and
running of the application is done thru command line.
In this case, how should I refer to my xyz.dll in the GAC?
Should I just say,
c:\ > csc /r:xyz.dll abc.cs (this is not working – should I set my PATH
variable?)
or
c:\ > csc /r:"path to gac"/xyz.dll abc.cs (this works – but is this right
approach?)
And when I try to run the exe without the dll in the current directory it
complains about the missing library.
Any help is appreciated. Thanks
-Praneetha
I have a doubt. I would greatly appreciate it if somebody could help me out.
I created a dll(xyz.dll) and installed it in the GAC using GACUtil.exe. Now,
I want to use the dll for my application(abc.exe). Both the compilation and
running of the application is done thru command line.
In this case, how should I refer to my xyz.dll in the GAC?
Should I just say,
c:\ > csc /r:xyz.dll abc.cs (this is not working – should I set my PATH
variable?)
or
c:\ > csc /r:"path to gac"/xyz.dll abc.cs (this works – but is this right
approach?)
And when I try to run the exe without the dll in the current directory it
complains about the missing library.
Any help is appreciated. Thanks
-Praneetha