none
Error :A reference to the "....dll" could not be added.Please make sure that the file is accessible and that it is a valid assembly or COM component. RRS feed

  • Question

  • Hello Sir/Madam,

    I am an Dot Net Developer and i am using .Net framework 3.5.

    My problem is that i am developing a window application in C#. I want to use a Lib file of VC++ in my C# application and i haven't code of this Lib file and i want to use all of its functions ,please tell me solution of my problem.

    I have used PInvoke attribute but it can't work because i don't know the name of Lib functions and also i have convert this lib into dll through a software but when i add its reference to my application then its gives the following error:

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

    Please provide me solution .

    Thanks

    Anil Jain

    Software Developer,

    Mumbai,

    http://aniljain00184.blogspot.com/

    aniljain00184@gmail.com

     

    Saturday, April 24, 2010 6:42 AM

Answers