473,385 Members | 1,486 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

references

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.

Nov 15 '05 #1
2 1371
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...?

"C# beginner" <an*******@discussions.microsoft.com> wrote in message
news:4d****************************@phx.gbl...
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.

Nov 15 '05 #2
thank you. Yes, my C# class libary interoperates with COM
objects. What is the solution for this problem? I
appreciate your help.
-----Original Message-----
Whatever application you used to build the class library probably didn'tmaintain brinary compatibility with the above named module, hence it didn'tknow where to find it in the registry. It occurs, is it a COM object...?
"C# beginner" <an*******@discussions.microsoft.com> wrote in messagenews:4d****************************@phx.gbl...
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.

.

Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: Tom | last post by:
The motivation for references seems clear: stop people from using nasty pointers when all they really want is a reference to an object. But C++ references are so inadequate that I'm still using...
22
by: xmp333 | last post by:
Hi All, I am trying to hide my JavaScript source. The method I chose was to keep all the important source in a password protected folder, and then use a SRC="folder/script.js" to include it...
33
by: JKop | last post by:
I understand variables/objects and pointer variables perfectly: int X = 5; int* pX = &X; *pX = 4; int** ppX = &pX:
2
by: S. van Beek | last post by:
Dear reader, For removing a reference in the VBA reference form I receive from Doug Steele the following code: ........... References.Remove refCurr
11
by: codebloatation | last post by:
I know how to use references but i DO not get WHY they exist other than to add to the language. Are they actually needed for anything?
14
by: el_sid | last post by:
Our developers have experienced a problem with updating Web References in Visual Studio.NET 2003. Normally, when a web service class (.asmx) is created, updating the Web Reference will...
30
by: jeremygetsmail | last post by:
I've got an adp (Metrix.adp) with a reference to another adp (InteractSQL.adp). InteractSQL sits on a server, and is refered to by all of the clients (Metrix), which sit on the client machines...
3
by: DonJefe | last post by:
Does anyone have experience using project->project references in large solutions? What are the plus/minuses that you have found? Currently, we are using the binary assembly references for our...
9
by: igor.kulkin | last post by:
References is a relatively basic feature of C++ language. It might be a good thing to think of references as aliases to the variables. However it's good to think of references this way when you...
3
by: CenturionX | last post by:
Hello everybody: I'd like to know what references in my vba code are used or not. I work in a code made by another person previously, i founded to many references and i believe that someones...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.