Solved

Adding a 2005 dll to 2003 project

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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

685 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