windows VS 2010 Tools 的 gacutil.exe 在哪里安装程序集?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3055880/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 14:40:15  来源:igfitidea点击:

Where does VS 2010 Tools' gacutil.exe install assemblies?

.netwindowsassembliesgacgacutil

提问by Ben McCormack

I used the Visual Studio 2010 Command Prompt's gacutil.exe to install an assembly. I expected the assembly to be added to C:\WINDOWS\assemblies, but it was instead added to C:\WINDOWS\Microsoft.NET\assembly\GAC_MSILand is not showing up in C:\WINDOWS\assemblies. Is this a problem and should I be concerned that it's not showing up there?

我使用 Visual Studio 2010 命令提示符的 gacutil.exe 来安装程序集。我预计将添加到装配C:\WINDOWS\assemblies,但它不是加入C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL并没有显示了C:\WINDOWS\assemblies。这是一个问题吗,我应该担心它没有出现在那里吗?

采纳答案by Franci Penov

The GAC location was changed in .Net 4. Check .NET 4.0 has a new GAC, why?for details.

.Net 4 中的 GAC 位置已更改。检查.NET 4.0 是否有新的 GAC,为什么?详情。