Solved

Adding a 2005 dll to 2003 project

Posted on 2007-12-02
2
211 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display

736 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