Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.dll file not accessible

I am trying to add a dll to my project. When I do "add reference" and try to add it, it tells me :

"A reference to ... could not be added. please make sure that the file in accessible, and that it is a valid assembly or COM component".

BTW, I am trying to add g729.dll

How can I add the dll?

like image 331
Ofek Agmon Avatar asked Sep 25 '12 11:09

Ofek Agmon


2 Answers

You must register your dll in register base before add reference

You can use Regsvr32 tool

Link : http://msdn.microsoft.com/en-us/library/ms859484.aspx

like image 73
Aghilas Yakoub Avatar answered Oct 02 '22 20:10

Aghilas Yakoub


Register your dll by providing the proper path s below:-

Open the command prompt of your visual studio and register your dll

c:\Windows\System 32> regsvr32 yourdll.dll

like image 31
aa aa Avatar answered Oct 02 '22 19:10

aa aa