I compiled the .net code in 4.6.1 in development environment. While compilation, 4.6.1 has been set in targetframework in config file in development environment. In Production environment, 4.8 .Net framework is installed. So my question is -
Is it mandatory to put 4.6.1 in TargetFramework in Production Web Config?
Please correct me here if I am mistaken - If I mention 4.6.1 in TargetFramework in Prodcution web config and in Production 4.8 framework is installed then application will always choose latest framework, it means 4.8. it means 4.8 will surpass 4.6.1.