Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I Have one .Net Class with name Interop.dll Which is Referring one another .net Class
common.dll.

and My Interop.dll (.i.e .net Class ) is refereed in VB application Calc.vbp

But while running this app am getting below error while calling method of .net class

"Could not load file "common.dll" or assembly one or more dependencies with version 1.0.0.0"

What I have tried:

I have register .net Interop.dll using regasm.exe recompiled all dll but same error
Posted
Comments
Afzaal Ahmad Zeeshan 27-Dec-18 7:37am    
Where did you get that library? Perhaps you missed the "install dependencies" section from that page. Check with the author and find out what is required.
ahp-1984 24-Jan-19 4:06am    
Thanks
ahp-1984 24-Jan-19 4:07am    
thanks
Prifti Constantine 2-Jan-19 2:47am    
Some changes might have been made to your web.config or your app.config . This error occured to me when installing a nugget and the web.config was not modified appropriately. Older version and newer version must match on your web.config or else it looks for a specific version and it never finds it. One solution would be to delete the nugget and reinstall it or another one would be to modify manually your config file and type the version by hand and rebuild it. I hope this fixes your issue.

Best Regards
ahp-1984 24-Jan-19 4:07am    
Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900