在asp.net项目中添加引用问题 [英] add reference problem in asp.net project

查看:85
本文介绍了在asp.net项目中添加引用问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在VS 2008中有asp.net项目。



在我的asp.net项目中,我想添加对程序集的引用(oracle.dataaccess .dll)在GAC内部。但是,当我'添加引用'时,我没有看到添加引用列表中的dll。我想我应该在没有浏览的情况下添加参考列表。



任何人都可以澄清为什么它没有出现在添加参考列表中吗?



非常感谢您的帮助!!!

解决方案

添加引用窗口中有5个选项卡。如果您确定已将其放入GAC,您应该能够在.Net选项卡上看到它。


刚遇到同样的问题。

所以作为未来的参考,这是你如何解决它:

你在注册表中添加指向DLL的指针,如下所示:

 [HKEY_CURRENT_USER\SOFTWARE \ Microsoft \ .NETFramework \AssemblyFolders \MyAssemblies] @ =C:\\MyAssemblies





通常这应该是由Oracles安装程序自动完成,但如果您按错误顺序安装,则不会发生这种情况。



有关主题的更多信息在其他地方 [ ^ ]。


Hi, I have asp.net project in VS 2008.

In my asp.net project, I want to add reference to an assembly(oracle.dataaccess.dll) which is inside GAC. But when i do 'add reference', i do not see that dll in add reference list. I think i should that dll in add reference list without doing browse.

Can any one clarify why it is not appearing in add reference list?

Your help highly appreciated !!!

解决方案

There are 5 tabs on the add reference window. If you are sure that you have put it in the GAC, you should be able to see it on the .Net tab.


Just ran into the same problem.
So as a future reference, this is how you fix it:
You add a pointer to the DLL in the Registry like this:

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\MyAssemblies]@="C:\\MyAssemblies"



Normally this should have been done automatically by Oracles installer, but if you install things in the wrong order this doesn't happen.

More info on the subject here[^].


这篇关于在asp.net项目中添加引用问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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