Solved

Adding a 2005 dll to 2003 project

Posted on 2007-12-02
2
214 Views
Last Modified: 2013-11-26
Can I add a dll created VS 2005 to a project created in VS 2003?

I am trying to add a dll created in 2005 to a 2003 project and I am receiving a "A reference to ... could not be added. This is not a valid assembly or COM component..."
0
Comment
Question by:Asparona
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 21

Accepted Solution

by:
surajguptha earned 500 total points
ID: 20393912
If you compiled it through 2005 it was compiled using .net 2.0. And in 2003 which uses .net 1.1 if you try to add a .net 2.0 dll it wouldnt be able to understand it. It wouldnt work that way...
0
 
LVL 21

Expert Comment

by:surajguptha
ID: 20393918
One other way to get it done is expose the .net 2.0 dll as a web service / remoting and then use the dll. Otherwise try to code the solution using 2.0 completely.
0

Featured Post

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question