Hi,
This might be not 100% true but in most cases the name of the file with the
extension removed equals to the assembly name expected by the
ReferencedAssemblies.Add() method. You might also wish to specify a fully
qualified name with version, public key token (if the assembly has a strong
name) etc.
You could refer to the AssemblyName class documentation for more info.
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE
"web1110" <we***@comcast.net> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi
I am trying to find out how to associate an assembly name with a dll file
name. I am creating dynamic assemblies and must perform
ReferencedAssemblies.Add() operations. I know the name of the assemblies
I need for the using clauses, but not the names of the corresponding DLLs
for the ReferencedAssemblies.Add() operations.
I am using C# as the base for a rule based system. The code is written
and the 'using' clauses are parsed out identifying the assemblies needed. I
need a map from 'using' to '.DLL'.
Thanx,
Bill