Tag: gacutil

Gacutil.exe成功添加程序集,但程序集不能在资源pipe理器中查看。 为什么?

我正在从Visual Studio命令提示符2010中运行GacUtil.exe来向GAC注册dll(CatalogPromotion.dll)。 运行该实用程序后,它说Assembly Successfully added to the cache ,并运行gacutil /l CatalogPromotionDll显示GAC包含程序集,但是当我从Windows资源pipe理器导航到C:\ WINDOWS \程序集时看不到程序集。 为什么我不能从Windows资源pipe理器中的WINDOWS \ assembly中看到程序集,但是我可以使用gacutil.exe来查看它? 背景:下面是我在VS工具的命令提示符中input的内容: C:\ _ Dev Projects \ VS Projects \ bmccormack \ CatalogPromotion \ CatalogPromotionDll \ bin \ Debug> gacutil / i CatalogPromotionDll.dll Microsoft(R).NET全局程序集caching实用程序。 版本4.0.30319.1 版权所有(c)微软公司。 版权所有。 程序集成功添加到caching C:\ _ Dev Projects \ VS Projects \ bmccormack \ CatalogPromotion \ […]

GACUTIL在Windows 7中的.NET Framework 4.0在哪里?

我在.net框架中创build了一个程序集,我打算发布到GAC,但是我找不到gacutil实用程序。 我一直在googlesearch,我发现了很多的build议,但没有任何工作: 将组件复制到%window%\ assemby [DOES NOT WORK] 将组件复制到%window%\ Microsoft.NET \ assembly [DOES NOT WORK] C:\ Program Files \ Microsoft SDKs \ Windows \ v6.0A \ Bin \ gacutil.exe / i“程序集” [returns an error: this assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded] 有没有人有想法解决这个问题?

gacutil.exe在哪里?

我正在使用Windows 7企业版32位。 我已经使用了Windows命令行,并且也使用了VSTS 2008命令行,但是在执行gacutil.exe时,却没有find命令错误。 我想知道是否需要从某处安装gacutil.exe或gacutil.exe位于我的电脑的其他地方(我search了我的电脑,但find几个文件称为gacutil.exe,我不知道应该使用哪一个) ? 顺便说一句:我正在使用.Net 3.5。