473,405 Members | 2,279 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,405 software developers and data experts.

problem in referencing dll in visual studio 2003. Works fine in 2005??!!

Hi,

I am having trouble referencing a dll in visual studio 2003. where as that same dll is easily refrenced on 2005. the error msg is:
"A reference to **********.dll could not be added. It is not a valid assembly or COM component. Only assemblies with extension dll or COM components can be referenced. Please make sure that the file is accessible, and that it is a valid assembly or COM component"

the assembly is valid, since it works well with VS2005. it is accessible. i have changed its location a couple of times and still doesnt work with VS2003, but at the same time works with VS2005.

the dll created USED to work with VS2003, but i had the whole product converted from VS2003 to VS2005. and then re-built the whole project, and now refrencing the newly created dll (VS2005 version) is not refrencing in VS2003 environment.

So in simple words: how do you reference a dll that was made on VS2005, on VS2003?

needless to say..URGENTTTT
Feb 8 '08 #1
1 1480
kenobewan
4,871 Expert 4TB
Hi,

I am having trouble referencing a dll in visual studio 2003. where as that same dll is easily refrenced on 2005. the error msg is:
"A reference to **********.dll could not be added. It is not a valid assembly or COM component. Only assemblies with extension dll or COM components can be referenced. Please make sure that the file is accessible, and that it is a valid assembly or COM component"

the assembly is valid, since it works well with VS2005. it is accessible. i have changed its location a couple of times and still doesnt work with VS2003, but at the same time works with VS2005.

the dll created USED to work with VS2003, but i had the whole product converted from VS2003 to VS2005. and then re-built the whole project, and now refrencing the newly created dll (VS2005 version) is not refrencing in VS2003 environment.

So in simple words: how do you reference a dll that was made on VS2005, on VS2003?

needless to say..URGENTTTT
In programming forwards compatability is nearly always easier than backwards. Since you converted the dll you may have two options. The first is to use the backup copy, point for next time. The second is converting backwards which is easier if there are config files associated with the dll. For example, the web.config has a legacy reference inserted. HTH.
Feb 8 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Airw0lf | last post by:
Hi all, would appreciate help with some trouble I'm having after using the Visual C++ 2005 Express Conversion Wizard on my Visual C++ .NET 2003 project. The wizard completed successfully with...
4
by: Skc | last post by:
We have a developer who has made an application in Visual Studio 2003 and this will not work in our version of Visual Studio 2002. Error message: Solution file loading error: The selected file...
9
by: RvGrah | last post by:
After much hair-pulling, I've finally found the answer to a problem that many are fighting with, difficulty connecting from Sql 2005 Server Management or VS2005 to a remote Sql Server running Sql...
7
by: Rabbit | last post by:
Dear all, Does anyone know how to resolve following setup problem, I developed my application(using .net 2.0) which will connect Access database on my Win XP, everything works fine, but when I...
12
by: Nathan Sokalski | last post by:
I recently upgraded to from Visual Studio .NET 2003 to Visual Studio .NET 2005. In Visual Studio .NET 2003 when I would select 'Build' it would add a *.dll with the name of the Project to a /bin/...
0
by: Bernhard Hess | last post by:
I use following C# code behind an aspx file to send a *.pdf file to the Internet Explorer. The variable "buffer" is of type byte and is filled with the contents of a *.pdf file. ...
0
by: ashukasama | last post by:
Hello All, I have a dll created in c# visual studio 2005. i wanted to use this dll in vc++ project created in visual studio 2003. I am doing following steps for using the dll developed in 2005:...
0
by: bernhard.nowara | last post by:
Hello, I found a bug in Visual Basic used with Visual Studio Macros (Microsoft Visual Studio 2005 + SP1). Description: If I apply the simple Visual Basic statement...
2
by: cacd1971 | last post by:
Hi, I use following C# code behind an aspx file to send a *.pdf file to the Internet Explorer. The variable "buffer" is of type byte and is filled with the contents of a *.pdf file. ...
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: 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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.