>but when using .NET 2.0 then they are separated ..
Right, but you said you were using VS 2003 which only targets .NET
1.1.
>i'm not using any tools so i need to find out ..
Why not?
>any hints would be greatly appreciated .
If an assembly is built for .NET 1.x (check
Assembly.ImageRuntimeVersion) then it should go into the GAC
directory.
If it targets .NET 2.0 or later, you can check the target platform
with Module.GetPEKind. The following table should tell you which
directory it ends up in in the GAC
PortableExecutableKinds Directory
----------------------- ---------
ILOnly GAC_MSIL
Required32Bit GAC_32
PE32Plus GAC_64
But note that the internal directory layout of the GAC is an
implementation detail that could change in the future. So I wouldn't
rely on this in my code.
Mattias
--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ |
http://www.dotnetinterop.com
Please reply only to the newsgroup.