We have a C# DLL (let\'s call it myapp.exe
) built with .NET 2.0 Framework (VS2005) and we found out that our application won\'t work on machines where only .NET
From my testing it would mean that I could run my 2.0 C# application on .NET 4.0 with .NET 4.0 framework (4.0 assembly/libraries) which is contradicting to what the articles said.
You can run your application on .NET 4 using the .NET 4 assemblies. There is always the possibility that there may be a slight change in runtime behavior, however, as you won't be using the same runtime and framework which you used for development. I suspect the article is trying to suggest that you won't get the exact same behavior by just installing 4.0, though, as you've seen, it should work.
Doing this is likely fine, though I would recommend doing thorough testing of your application if this is going to be a standard deployment option.