Register DLL in GAC without Assembly Manifest

tsilb picture tsilb · Mar 12, 2009 · Viewed 23.8k times · Source

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?

Answer

Erik A. Brandstadmoen picture Erik A. Brandstadmoen · Mar 12, 2009

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?