Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / January 2006

Tip: Looking for answers? Try searching our database.

Reference .NET 2.0 assemblies in 1.1 code?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Eric - 19 Jan 2006 22:40 GMT
Hello,

Is there any forward compatability between 1.1 and 2.0?  A handful of
assemblies I use in my 1.1 web app were just upgraded to 2.0, and I'm
required to use the new assemblies.

Is this possible without converting my code to 2.0 (or allowing IIS to
handle the 1.1 app as a 2.0 app)?  If so, what config changes need to be made?

Thank you,

Eric
Mark - 19 Jan 2006 23:02 GMT
2.0 Assemblies will require the 2.0 Framework to run. Running a 2.0 assembly in 1.1 environment will not work as far as I know.

You could install both versions, and then making references to 1.1 assemblies will work from 2.0 projects, but not referencing 2.0 assemblies in a 1.1 project.

> Hello,
>
[quoted text clipped - 8 lines]
>
> Eric
Eric - 19 Jan 2006 23:27 GMT
Well, guess I won't run out of work then.  Thanks for the reply, Mark.

Eric

> 2.0 Assemblies will require the 2.0 Framework to run. Running a 2.0 assembly in 1.1 environment will not work as far as I know.
>
[quoted text clipped - 12 lines]
> >
> > Eric
MSDNAndi - 20 Jan 2006 07:02 GMT
Eric,

if you just want to call functionality implemented in .net 2.0 from .net
1.1, you could expose the .net 2.0 functionality as COM and make calls
against that.

Of course, just "calling"... no inheritance, and quite some limitations.

Regards,

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.