In message <62**********************************@microsoft.co m>, Raed
Sawalha <Ra*********@discussions.microsoft.com> writes
is it possible to automate GAC and REGASM process byt code?
i need to do the following procedure using code ,is it possbile?
1. gacutil - i assemblyname
2. regasm assmebname /tlb:name/codebase
It is possible, yes. Alternatively, write a program which creates batch
files to do the job. I wrote something similar for a former employer
which used reflection and a few custom attributes to generate scripts
which the admins could run to register components in the GAC and for
COM+.
I started writing something else to validate and correct the COM+
catalog settings (because sometimes it's asking too much to expect
someone to read, understand and implement a set of simple instructions)
but never had time to finish it. It would be fairly trivial to write a
program which managed the whole process in a more idiot-proof manner
than relying on command line tools and the COM+ explorer.
--
Steve Walker