references

  • Thread starter Thread starter C# beginner
  • Start date Start date
C

C# beginner

Hi all
I have two .NET applications, one is a C# class library
that interoperates with COM and the other is a C# windows
application that tests the C# class library. My test
application was working fine and so was my class library.

Earlier, I had problems with my C# class libary, so I had
to fix the project references (the COM wrapper
references). Since I did that, my test app is broke and I
don't know how to fix it. When I try to instantiate a
class from my class library in my test application, I am
getting the following exception.

An unhandled exception of
type 'System.IO.FileNotFoundException' occurred in
TestApplication.exe

Additional information: File or assembly name
COMReference.NET, or one of its dependencies was not found.

where COMReference.NET is the .NET wrapper for a COM
component referenced by the C# class library.

Kindly help me out. Thanks.
 
Whatever application you used to build the class library probably didn't
maintain brinary compatibility with the above named module, hence it didn't
know where to find it in the registry. It occurs, is it a COM object...?
 
thank you. Yes, my C# class libary interoperates with COM
objects. What is the solution for this problem? I
appreciate your help.
 
Back
Top