.NET Version


G

Guest

If I compile a C# class library using VS 2003. Then build an application in
VS 2005 and reference that library. When I execute the application will the
source in the DLL be executed by .NET 1.1 or .NET 2.0 framework.
 
Ad

Advertisements

M

Marc Gravell

You can only have one framework version per process (exe); in this
case, the 1.1 assembly will run in the 2.0 runtime, which is fine as
all the 1.1 IL is supported. You can't, however, use a 2.0 assembly
from a 1.1 process.

Marc
 
Ad

Advertisements

A

Andre Kaufmann

Marc said:
You can only have one framework version per process (exe); in this
case, the 1.1 assembly will run in the 2.0 runtime, which is fine as
all the 1.1 IL is supported. You can't, however, use a 2.0 assembly
from a 1.1 process.

Just as info:

It's true that currently only one framework version per process can run.
Though with Silverlight 1.1 and future CLR's it will (should) be
possible to use different framework versions parallel in one process.

Andre
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top