Home All Groups Group Topic Archive Search About

Reference .NET 2.0 assemblies in 1.1 code?

Author
19 Jan 2006 10:40 PM
Eric
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

Author
19 Jan 2006 11:02 PM
Mark
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.

Show quote
"Eric" <E***@discussions.microsoft.com> wrote in message news:BF4EC5EA-E58A-4FE7-9261-118258C89CDB@microsoft.com...
> 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
>
Author
19 Jan 2006 11:27 PM
Eric
Well, guess I won't run out of work then.  Thanks for the reply, Mark.

Eric

Show quote
"Mark" wrote:

> 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.
>
> "Eric" <E***@discussions.microsoft.com> wrote in message news:BF4EC5EA-E58A-4FE7-9261-118258C89CDB@microsoft.com...
> > 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
> >
Author
20 Jan 2006 7:02 AM
MSDNAndi
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,

AddThis Social Bookmark Button