Hi, Can I run applications compiled with .net framework 3.5 on a computer with .net framework 4 installed (.net framework 3.5 is not installed)? Thanks
+3
A:
Yes you can. The CLR 4.0 is backwards compatible with assemblies compiled against .NET 3.5.
Darin Dimitrov
2010-10-13 12:17:41
Does that imply the the same for 3.0?
jdv
2010-10-13 12:20:44
Yes, same for .NET 2.0. Not sure about .NET 1.0 and 1.1 though but who cares about them anyways :-)
Darin Dimitrov
2010-10-13 12:24:26
But when I'm trying to do so, it crash (It says that it can't load the assembly ...servicemodel.... version 3.0)...
Mattan
2010-10-13 13:23:51
Do you know what can be the problem?
Mattan
2010-10-13 13:24:08
When you migrate the project in Visual Studio 2010 it should automatically change the reference of the BCL assemblies to 4.0. It seems this is not the case. You might need to change the references.
Darin Dimitrov
2010-10-13 13:35:56
Oops... Enter sends the question... If the application was compiled with vs 2008 (and hence using .net 3.5), can I run it on .net 4 computer?
Mattan
2010-10-13 13:47:44