I built a program in C# .NET 2.0 that works great also under framework 3.0 and 3.5.
But if .NET Framework 4.0 is the only framework installed, it does not working, it requires the user to install 2.0.
i found the following configuration in google:
<startup>
<requiredRuntime safemode="true" imageVersion="v4.0.30319" version="v4.0.30319"/>
</startup>
After adding this to the app.config, my program works on .NET Framework 4.0 without any problems!
What i searching for is a .NET 'Any Framework' configuration, that run my program under .NET 2.0 if installed, or else in .NET 4.0.
How to do this?