Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.net 4.6 framework is inplace upgrade then how is the .net framework 4.5 works in vs2015?

.net 4.6 framework is inplace upgrade then how is the .net framework 4.5 works in vs2015? I see only one folder v4.0.30319 . How is the dll stored and where ?

like image 911
Rohit Sharma Avatar asked Sep 21 '15 15:09

Rohit Sharma


People also ask

Is .NET 4.6 backwards compatible?

The . NET Framework 4.5 and later versions are backward-compatible with apps that were built with earlier versions of the . NET Framework. In other words, apps and components built with previous versions will work without modification on the .

Is .NET framework 4.5 still supported?

SHA-1 content retirement Support for . NET Framework versions 4.5. 2, 4.6, and 4.6. 1 ended on April 26, 2022, so security fixes, updates, and technical support for these versions will no longer be provided.


1 Answers

.NET Framework 4.5 was an in-place upgrade for 4.0. 4.5.1 was an in-place for 4.5. 4.5.2 was an in-place for 4.5.1. 4.6 is also in place.

So it goes to reason that the 4.6 framework installs the v4.0.xxxxx directory.

Now, Visual Studio 2015 supports .NET Framework 4.5 for targeting. When you create a project that targets the 4.5 Framework, it limits you to using features that are only available in that version of the framework. If you have .NET Framework 4.6 installed (and you will with Visual Studio 2015), and target 4.5, the code will still be execute using the 4.6 Framework.

like image 111
vcsjones Avatar answered Oct 06 '22 00:10

vcsjones