添加引用在Framework 4的应用程序没有显示在GAC组件与GACUTIL V 4注册 [英] Add Reference in Framework 4 Application is not showing assemblies in GAC registered with GACUtil V 4

查看:250
本文介绍了添加引用在Framework 4的应用程序没有显示在GAC组件与GACUTIL V 4注册的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经注册使用其自带的VS2010(版本4ish)的GACUTIL在我的本地GAC一个dll

I've registered a dll in my local GAC using the GACUtil which comes with VS2010 (version 4ish)

我可以执行 GACUTIL / L XXX 并找到该dll

I can perform gacutil /l xxx and it finds the dll

我知道来自各个岗位的框架4有它自己的GAC果然文件可以位于该目录中 C:\ WINDOWS \ Microsoft.NET \组装

I am aware from various other posts that Framework 4 has it's own GAC and sure enough the file can be located in the directories within C:\WINDOWS\Microsoft.NET\assembly

我的问题是,在添加引用DialogBox的.NET选项卡上不显示我的GAC'ed组件。

The problem for me, is that the .NET tab on the Add Reference dialogbox does not show my "GAC'ed" assembly.

我确信,这些项目的属性所使用的4.0框架的版本相同,但我目前处于亏损状态。

I've made sure that the projects properties are using the same version of the 4.0 framework, but I am currently at a loss.

任何人都有这个问题?

提前干杯

推荐答案

添加引用窗口未列出的GAC程序集。 Visual Studio中保持它自己的路径列表来搜索组件,以在该窗口中列出。请参见这里有关如何做出指示您组件出现在该列表中,特别是在标题为要在添加引用对话框中显示程序集

The "Add Reference" window does not list assemblies in the GAC. Visual Studio keeps it's own list of paths to search for assemblies to list in that window. See here for instructions on how to make your assembly show up in that list, specifically under the heading "To display an assembly in the Add Reference dialog box"

这篇关于添加引用在Framework 4的应用程序没有显示在GAC组件与GACUTIL V 4注册的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆