从BizTalk Server 2009中的System32文件夹中引用DLL [英] Refer a DLL from System32 folder in BizTalk server 2009

查看:110
本文介绍了从BizTalk Server 2009中的System32文件夹中引用DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我使用.NET创建了一个DLL,并将其放在C:\ WINDOWS \ System32文件夹中。当我尝试通过"添加引用"添加DLL时从BTS 2009中创建的BizTlak项目,DLL不会显示在列表中。但是,如果我单独打开System32文件夹,我可以在System32文件夹中看到DLL。任何人都可以向我解释这一点。我试过用VS 2005和VS 2008创建的这个DLL,但结果相同。

注意:我可以通过"添加引用"添加DLL。如果DLL被放置在其他一些文件夹中或项目文件夹内部

,谢谢,R.Subha

解决方案

< blockquote>您需要将.Net dll放在全局程序集缓存中 http:// msdn.microsoft.com/en-us/library/yf1d93sz(VS.71).aspx
您可以使用gacutil.exe工具执行此操作: http://msdn.microsoft.com/en-us/library/ex0ss12c(VS.71)的.aspx

然后,您需要从"添加参考"对话框中浏览到dll的副本


Hi,

I have created a DLL using .NET and placed it in C:\WINDOWS\System32 folder. When I tried to add the DLL through "Add Reference" from the BizTlak project created in BTS 2009, the DLL is not displayed in the list. But if I open the System32 folder individually, I am able to see the DLL available in the System32 folder. Could anyone explain me about this. I tried this DLL created with VS 2005 and VS 2008, but the same result.

Note: I am able to add the DLL through "Add Reference" if the DLL is placed in some other folders or inside the project folder

Thanks,
R.Subha

解决方案

You need to place your .Net dll in the Global Assembly Cache http://msdn.microsoft.com/en-us/library/yf1d93sz(VS.71).aspx
You can use the gacutil.exe tool to do this: http://msdn.microsoft.com/en-us/library/ex0ss12c(VS.71).aspx

You will then need to Browse to a copy of the dll from the Add Reference dialog


这篇关于从BizTalk Server 2009中的System32文件夹中引用DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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