Confirm Asseblies have been deployed to GAC

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
can some confirm what is the best way (via code / script) to determine
that all assemblies as part of a deployment are installed.
We had a live issue recently when a rarely used assembly had an attempt to
invoke one of its methods. It turns out the assembly was not in the GAC. This
failed causing downtime. We would ideally like to check post deployment from
a list we have prepared that all desired assemblies are in the GAC.

Any help greatly appreciated.
 
Thanks Vadym, but the documentation that I saw strongly advises not to use
the API's. Is there another mechanism?
 
Hello, Bakunin!

B> Thanks Vadym, but the documentation that I saw strongly advises not
B> to use
B> the API's. Is there another mechanism?

I've mentioned another way. You can call Assembly.Load(). If load failed, then
assembly being loaded is not in the GAC.

BTW, how do you put assemblies into the GAC?


--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
 
Back
Top