问题
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.
回答1:
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.
来源:https://stackoverflow.com/questions/2440568/install-net-4-0-dll-to-the-gac