Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can VS08 use VS05 dll
Message
De
12/02/2010 19:26:56
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
12/02/2010 14:46:46
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Visual Studio
Divers
Thread ID:
01448974
Message ID:
01449003
Vues:
41
>I have a Visual studio 2005 application and a Visual Studio ASP.Net 2008 application.
>
>I would like to reference the DLL created in VS2005 in my VS2008 project. But I do not want to convert the 2005 application to 2008.
>
>Can I reference the same DLL in both VS2005 and VS2008?
>
>Thanks,
>
>Jerry

Jerry the answer is yes but some things do matter. First it isn't about the version of VS as it is about the version of the dot net framework. You can right click the project and go to properties to see the version of the framework it is targeted on. I would suppose the VS2005 build appliacation was targeting dot net 2.0. I have applications running dot net 3.5 that still use components built on dot net 2.0. This is because the dot net framework 3.0/ 3.5 are built as extensions on top of dot net 2.0. The other way around might not work depending on what framework references are included but you should be able to keep the earlier component in your later application.

Also, you can move your VS2005 application into the VS2008 IDE without changing its dot net framework target. I moved everything to VS2008 because there was no down side. Some used components and references that were third party and such and I kept the target framework at dot net 2.0 so I could have better control over what might break or be incompatible. That way I could keep my projects open in VS2008 regardless of the target framework.
Tim
Timothy Bryan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform