views:

635

answers:

2

I have an assembly that is targeted for .NET 3.5.

I have an application targeted for .NET 2.0 and wonder if I should have any trouble referencing the 3.5 assembly from the 2.0 application.

I understand that the IL is supposedly the same, so I'm assuming that it will work, but would like to hear some experiences from others who have tried this.

The runtime environment will have both 2.0 and 3.5 installed.

+5  A: 

There's no problem. There is only one runtime version executing the app. .NET Framework v2.0.

Mehrdad Afshari
+2  A: 

However - when deploying your .net2.0 application, your user will be prompted to install .net3.5 (as there is a .net 3.5 assembly referenced).