Home All Groups Group Topic Archive Search About

Using IAssemblyCache.QueryAssemblyInfo with a native assembly in the Zap Cache

Author
1 Aug 2006 2:10 PM
Rich
Is there a way of using QueryAssemblyInfo for querying a file in the zap
cache.

The directory structure seems to have changed quite considerably between
..NET 1.1 and .NET 2.0.

Either that - or does anyone know how work out what the sub directory
structure will be

In .NET 1.1 it was in a form

:   Net Version.Major.Minor.Build\FileName\File
Version__PublicKeyToken\FileName.dll

Now it appears to be Net Version.Major.Minor.Build_32\File Name (potentially
truncated)\<Some hash/GUID>\FileName.ni.dll

The hash/Guid seems to be generated by the ngen tool. Is there any way of
working this out? or using the QueryAssemblyInfo to get the location of the
ni.dll?

http://blogs.msdn.com/junfeng/default.aspx has been very useful
and http://www.grimes.demon.co.uk/workshops/fusionWS.htm

Any help would be much appreciated.

Thanks

Rich

AddThis Social Bookmark Button