Using .NET 2.0 assembly in 1.1 project

W

www.dir

Hi,

Is there a way to use .NET 2.0 assemblies in .NET 1.1 project.
Assuming that we have both frameworks running on the machine.

Actually what I want to do is to migrate to .NET 2.0 but I can't do it
at once.
I need to migrate step by step. And that way my executables will be
written in .NET 1.1 and I'll need to reference .NET 2.0 assemblies.

Is there a way to do this?
Thanks.
 
L

Lonifasiko

I'm afraid (at least from Visual Studio 2005) you cannot add a .NET
Framework 2.0 assembly reference to a .NET Framework 1.1 project.

I also think could be a great idea....
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

I do not think you can do this. Remember that in theory the 2.0 assembly
could use features (outside the assembly, in the framework) that are not
available in the 1.1 version.

Now , I think that you could use the 2.0 as a COM , I have never done this
but it should work. That would be the only way.
 

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