Last post Dec 20, 2016 10:16 AM by Shehzad Rattani
Dec 19, 2016 06:35 AM|Shehzad Rattani|LINK
I am using Visual Studio 2010 Professional Edition. I have developed a web application in visual studio. The programming language used for the application is C#. For this application, I need to know which .NET Framework version was used and which ASP.NET
version was used. I opened the projectname.csproj file and there is a following line in this file:
It gives me the detail that the .NET Framework version used in this application is version 4.0. Now, how do I find the ASP.NET version that was used for this application?
On my development machine, I have windows 10 installed. When I clicked Help -> About for IIS, the version number was displayed as 10.0....
In the Control Panel -> Windows Features, I checked the following:
Internet Information Services -> World Wide Web Services -> Application Development Features
Here the following entries are checked:
.NET Extensibility 3.5
.NET Extensibility 4.6
Dec 19, 2016 07:31 AM|Mikesdotnetting|LINK
If you are targeting .Net 4.0, the version of ASP.NET that you are using is 4.0. The next available version is 4.5, which requires .NET 4.5.
Dec 19, 2016 09:02 AM|Shehzad Rattani|LINK
Then, when I view ASP.NET entry (Control Panel -> Programs and Features -> Turn Windows features on or off), why I see ASP.NET 3.5 and ASP.NET 4.6 listed and not ASP.NET 4.0?
Dec 19, 2016 02:08 PM|Mikesdotnetting|LINK
They don't appear in the Windows features on my machine at all. They are part of the .NET framework.
Dec 19, 2016 02:58 PM|PatriceSc|LINK
All 4.x versions are highly compatible down to the 4.0 version so if your application targets 4.0 it should work unchanged if 4.x is installed. You can see
https://msdn.microsoft.com/en-us/library/dn458358(v=vs.110).aspx for details.
Dec 20, 2016 10:12 AM|Shehzad Rattani|LINK
ASP.NET version numbers appear in the Windows features on my machine running Windows 10 Pro (64-bit). It is shown here:
Dec 20, 2016 10:16 AM|Shehzad Rattani|LINK
Since, my machine is showing ASP.NET 4.6, so it seems that ASP.NET 4.0 is working in effect and there are no issues due to a 4.x version being installed.