question

SrivastavaShailendra-0508 avatar image
0 Votes"
SrivastavaShailendra-0508 asked ·

Microsoft .Net Framework TargetFrameWork

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-supported
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LeonLaude avatar image
0 Votes"
LeonLaude answered ·

Hi,

Q&A currently supports the products listed over here https://docs.microsoft.com/en-us/answers/products (more to be added later on).

You can reach the experts in the dedicated .NET Framework forum over here:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=netdevelopment

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

Best regards,
Leon


·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.