Microsoft .Net Framework TargetFrameWork

Srivastava, Shailendra 1 Reputation point

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 -

  1. Is it mandatory to put 4.6.1 in TargetFramework in Production Web Config?
  2. 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.
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
26,877 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Leon Laude 85,206 Reputation points


    Q&A currently supports the products listed over here (more to be added later on).

    You can reach the experts in the dedicated .NET Framework forum over here:

    (Please don't forget to accept helpful replies as answer)

    Best regards,

    0 comments No comments