Look at the Assembly class within the System.Reflection namespace. It has a
property called GlobalAssemblyCache that is a boolean, indicating whether or
not the assembly is in the GAC.
Hope this helps!
Christopher Reed
Web Applications Supervisor
Information Technology
City of Lubbock
[EMAIL PROTECTED]
"The oxen are slow, but the earth is patient."
>>> [EMAIL PROTECTED] 7:13:25 AM 7/6/2005 >>>
Hi all,
I have the path of some dlls like -
reference.Path
"C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50215\\System.Xml.dll"
reference.Path
"C:\\JaproTestPerforce\\JaproTestWorkspace\\MasterProject\\dev\\src\\_Ma
sterSub1Lib\\cs\\obj\\Debug\\MasterSub1Lib.dll"
Now I need to find if these dlls are installed in GAC!
Is there any .NET framework provided class to find this out?
The only I an think of is to find if the file is in
"C:\\WINDOWS\\Microsoft.NET\\Framework\"..
Is there any better way of doing this?
Any Help would be appreciated.
Regards,
Sarvajith
===================================
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com