.NET Framework and ASP.NET RRS feed

  • Question

  • User1386166523 posted


    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


    ASP.NET 3.5

    ASP.NET 4.6

    ISAPI Extensions

    ISAPI Filters



    Monday, December 19, 2016 6:35 AM


All replies

  • User-821857111 posted

    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.

    Monday, December 19, 2016 7:31 AM
  • User1386166523 posted

    Thanks Mikesdotnetting.

    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?



    Monday, December 19, 2016 9:02 AM
  • User-821857111 posted

    They don't appear in the Windows features on my machine at all. They are part of the .NET framework.

    Monday, December 19, 2016 2:08 PM
  • User753101303 posted


    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.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, December 19, 2016 2:58 PM
  • User1386166523 posted

    Thanks Mikesdotnetting.

    ASP.NET version numbers appear in the Windows features on my machine running Windows 10 Pro (64-bit). It is shown here:

    ASP.NET Version Numbers



    Tuesday, December 20, 2016 10:12 AM
  • User1386166523 posted

    Thanks PatriceSc.

    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.



    Tuesday, December 20, 2016 10:16 AM