Install .NET 4.0 dll to the GAC

杀马特。学长 韩版系。学妹 提交于 2019-12-10 15:27:33

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!