添加引用在Framework 4的应用程序没有显示在GAC组件与GACUTIL V 4注册应用程序、组件、Framework、GACUTIL

2023-09-07 14:50:22 作者:淡述、昔日情

我已经注册使用其自带的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"

 
精彩推荐
图片推荐