I have a console application and I am trying to run .exe file on server. But I am getting the below error.
Unable to find a version of the runtime to run this application
I have developed the console application in 3.5 framework and the server have 4.0 framework.
Shall I develop the application in 2.0 or 3.0 framework?
4.0 Framework does not include 2.0-3.5.
You need either install version 3.5 on the server OR add entry in the config of your application to allow it to run under 4.0.
Check When executing an application on .net 4.0, complied under .net 2.0 and app.config <supportedRuntime> for details.