Why doesn't .NET 4.5 warn me when running a .NET 4.6 application RRS feed

  • Question

  • We have an application which uses .NET 4.6 as target framework. It turns out that the application can be started when having .NET 4.5 installed. However lates on it could crash when executing certain code which doesn't seem to be compatible with 4.5.

    It would have been nice if the framework would tell the user that the application requires a newer version of the framework. This would save us a lot of time troubleshooting mysterious crashes.

    Wednesday, August 17, 2016 8:48 AM


  • Hi,

    as far as I know, the standard behaviour is an error message. A .Net 4.6 application expects a 4.6 environment and if this is not available, an error will be thrown.

    But this bahaviour can be configured. You can add SupportedRuntime elements to your config file. Can you check the config file of your application if it included anything like that?

    You can see the following page for details:

    With kind regards,


    Wednesday, August 17, 2016 8:58 AM