windowsvisual-studio-2010gacutil

Register DLL in GAC without Assembly Manifest


I have a DLL I wish to register with my GAC. I enter the command:

gacutil /i c:\temp\msvcr100.dll

and I get the error:

Failure adding assembly to the cache:   The module was expected to contain an as
sembly manifest.

All I have is the DLL. Is there a way to create / fake / bypass it?

For those interested, I am attempting to extract the Visual Studio 2010 & .NET 4.0 CTP from the VHD and run it on my physical box. As a side note, has this been attempted?


Solution

  • Is this actually a GAC-able DLL? It doesn't seem like it. Maybe it's just reg-able? Why do you want to GAC it?