Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install .NET 4.0 dll to the GAC

I have a visual C# 2010 express install. Built a .NET 4.0 dll that is signed. Now I need to get it into the GAC. Im on 64bit vista. Anyone know if there is a gacutil supporting the 4.0 framework yet? Any other suggestions on getting it into the GAC?

I have tried drag and drop into C:\Windows\assembly, whenever I do, it appears to copy; however, it is not copied and does not produce any error message.

I cannot create a setup/deployment project as it appears the express editions of visual studios do not have the ability.

like image 310
Lucas Avatar asked Mar 13 '10 23:03

Lucas


People also ask

How do I manually add a DLL to the GAC?

Just drag and drop the DLL file into folder C:\Windows\assembly using Windows Explorer.


1 Answers

The GACUtil for .Net Framework 4.0 comes with the Windows SDK v7.0A. I believe this version of the SDK is currently only distributed with the Visual Studio 2010 RC.

Update: the latest versjon of the Windows SDK, v7.1, is available for download separate from Visual Studio.

gacutil.exe is located in the \Program Files\Microsoft SDKs\Windows\v7.1\Bin folder.

like image 69
Peter Lillevold Avatar answered Oct 10 '22 21:10

Peter Lillevold