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?
Register dll in GAC without using gacutil Usually we register the dll to the Global Assembly Cache a.k.a GAC using the Visual Studio developer console Gacutil or earlier to Windows server 2012 you can simply drag and drop to the Windows Assembly folder With the Windows server 2012 drag and drop the file to the assembly folder will no longer work
gacutil.exe is the .NET utility used to work with the GAC. One can check the availability of a shared assembly in GAC by using the command: One can register a shared assembly in the GAC by using the command: Or by dropping an assembly file into the following location using the GUI:
The syntax for using gacutil.exe to install an assembly in the GAC is as follows: In this command, <assembly name> is the name of the assembly to install in the global assembly cache. If gacutil.exe isn't in your system path, use Visual Studio Developer Command Prompt or Visual Studio Developer PowerShell.
Usually we register the dll to the Global Assembly Cache a.k.a GAC using the Visual Studio developer console Gacutil or earlier to Windows server 2012 you can simply drag and drop to the Windows Assembly folder With the Windows server 2012 drag and drop the file to the assembly folder will no longer work
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?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With