简体   繁体   English

在Delphi中使用.NET程序集

[英]using .NET Assemblies in Delphi

I am currently required to open and use a .NET assembly in delphi. 我目前需要在delphi中打开并使用.NET程序集。 The Assembly that i am trying to use also has an assembly of objects it is using. 我正在尝试使用的程序集也有一个正在使用的对象程序集。 With the object assembly i was able to use regasm to create a type library. 使用对象程序集,我可以使用regasm来创建一个类型库。 I was also able to assign a SN and register it with the GAC. 我还能够分配SN并将其注册到GAC。

Now with the main assembly i am tyring to use in Delphi, i try using regasm and i end up getting an error "Regasm : error RA0000 : Unable to locate input assembly [location] or one of its dependencies." 现在主要的程序集我在Delphi中使用,我尝试使用regasm,我最终得到一个错误“Regasm:错误RA0000:无法找到输入程序集[location]或其依赖项之一。” I have looked over the location and file name and there is nothing wrong. 我查看了位置和文件名,没有任何错误。 Am i missing a step somewhere? 我错过了某个地方的一步吗?

您确定您的程序集引用的所有程序集都在GAC中吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM