public Object ResolveRef(Assembly asm) { UCOMITypeLib rslt = null; Module[] aModule = asm.GetLoadedModules(); String asmPath = Path.GetDirectoryName(aModule[0].FullyQualifiedName); // If the typelib name is null then create it from the assembly name. String FullyQualifiedTypeLibName = Path.Combine(asmPath, asm.GetName().Name) + ".tlb.tmp"; // Export the typelib for the module. rslt = GenMan32Code.GenerateTypeLib(asm, ref FullyQualifiedTypeLibName); return(rslt); }
internal UCOMITypeLib GenerateTypeLib(String strAssemblyName, ref String strTlbName) { return(GenMan32Code.GenerateTypeLib(strAssemblyName, ref strTlbName)); }