F
Fredo
I'm writing a wrapper for the VBScript and JScript engines in .NET. I'm
trying to add a little uniformity where Microsoft has some divergence.
With the JScript engine, you can add references and provide a path to where
each DLL is. With the VBScript engine, you can't do that. For DLLs that
aren't in the GAC, you have to provide a directory where all the referenced
..DLLs are.
To keep the user of the wrapper from having to deal with this, for the
VBScript I want to add some code to copy all the references that aren't in
the GAC, to a temporary directory. The problem is, how would one
programmatically determine which ones are in the GAC and which ones aren't?
I know I can go snooping around in \Windows\assembly\GAC, but I wanted ot
know if there was a better way of doing this that doesn't require me digging
through directories, checking DLL versions and such. I don't know precisely
how .NET normally does this and unfortunately, I can't see how the VBScript
engine deals with it since that part of the framework code appears to be
unmanaged.
Thanks.
trying to add a little uniformity where Microsoft has some divergence.
With the JScript engine, you can add references and provide a path to where
each DLL is. With the VBScript engine, you can't do that. For DLLs that
aren't in the GAC, you have to provide a directory where all the referenced
..DLLs are.
To keep the user of the wrapper from having to deal with this, for the
VBScript I want to add some code to copy all the references that aren't in
the GAC, to a temporary directory. The problem is, how would one
programmatically determine which ones are in the GAC and which ones aren't?
I know I can go snooping around in \Windows\assembly\GAC, but I wanted ot
know if there was a better way of doing this that doesn't require me digging
through directories, checking DLL versions and such. I don't know precisely
how .NET normally does this and unfortunately, I can't see how the VBScript
engine deals with it since that part of the framework code appears to be
unmanaged.
Thanks.