将项目从工具箱拖动到表单始终引用GAC [英] Dragging items from toolbox to form always references GAC

查看:67
本文介绍了将项目从工具箱拖动到表单始终引用GAC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有点不确定我是否记得错了或者是不是真的(孩子们在弄乱我的大脑)。

我们使用一些经常更改版本的第三方工具。这就是我到目前为止使用的:

为了将项目添加到工具箱,我将dll(位于c:\ sometools \)拖到工具栏中,然后添加它们。

现在当我将一个工具拖到一个表单时,使用我之前拖动到工具箱的dll路径来引用相关的dll(c:\ sometools \ _somedll.dll)。



当我尝试相同的版本(我不知道OP在我的机器上升级了什么)后,版本更改后,引用的dll取自GAC并且没有来自路径的lnger我过去常常把物品拖出来......



我错过了什么,或者它可能是VS中的一个设置?我真的很想从他们原来的路径而不是GAC中引用dll。



我希望我能解释一下我的意思:)



非常感谢任何帮助,

欢呼

Andy

Hello all,
I am a little bit unsure if I just remember something wrong or if it is something real (kids are messing with my brain).
We use some third party tools that often change version. This is what I was used till now:
In order to add items to the toolbox I dragged the dll's (located in c:\sometools\) to the toolbar and they gave been added.
Now when I drag a tool to a form the related dll gets referenced using the path of the dll I dragged to the toolbox before (c:\sometools\somedll.dll).

When I try the same now (I am unaware if OP upgraded something on my machine) after a version change the dll that gets refernced is taken from the GAC and no lnger from the path I used to drag the items from in the first place...

Did I miss something, or is it maybe a setting in VS? I really like to get the dll's referenced from their original path rather than from the GAC.

I hope I could explain what I mean :)

Any help is kindly appreciated,
cheers
Andy

推荐答案

这篇关于将项目从工具箱拖动到表单始终引用GAC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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