none
Upgrading Dotnet framework version for asp.net website on production enviorment RRS feed

  • Question

  • Can any one help me to upgrade dot net framework version from 4.0 to 4.6.2 for asp.net website hosted on production environment.Currently hosted asp.net website on production has target .Net framework 4.0. I want to upgrade this website with .Net framework 4.6.2.Can anybody explain me how to change target framework with 4.6.2 and what are the impact on existing code.

    your help will be appreciated. 

    Monday, May 23, 2016 4:28 AM

All replies

  • Dear Jitendra.Jain,

    Welcome to the MSDN forum.

    Since our forum is to discuss the .NET Framework Setup and Servicing and if you have any issue about the installation of the .NET Framework, please feel free to let me know.

    As far as I know, if you want to change the target framework of the asp.net website, you can right-click the project name, select ‘Properties’, under ‘Application’ tab, there has the field ‘Target framework’ and you can click the dropdown list and choose the .NET Framework version that you want then save.

    If you cannot want to install .NET Framework 4.6.2 preview, please make sure your OS is support to install .NET Framework 4.6.2, you can find the system requirement of .NET Framework 4.6.2 in the download website as below:

    Microsoft .NET Framework 4.6.2 Preview (Web Installer): https://www.microsoft.com/en-us/download/details.aspx?id=51643

    Microsoft .NET Framework 4.6.2 Preview (Offline Installer): https://www.microsoft.com/en-us/download/details.aspx?id=51625

    The Microsoft .NET Framework 4.6.2 Preview is a highly compatible, in-place update to the Microsoft .NET Framework 4/4.5/4.5.1/4.5.2/4.6/4.6.1. The offline package can be used in situations where the web installer cannot be used due to lack of internet connectivity.

    BTW, if you want verify the intergrity of the existing NET Framework versions on your computer, please use the .NET Framework setup verification tool: http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx.

    Once it finds any issue, please use .NET Framework Repair Tool: https://www.microsoft.com/en-us/download/details.aspx?id=30135to repair.

    Best regards,

    Sara


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, May 24, 2016 2:52 AM
    Moderator
  • Thanks for Replying and your great support.

    Can you please guide us about changing framework version from 4 to 4.6.2 impacts on existing code and how much it affect our client on production environment.

    Kindly suggest how do we identify code level impact before changing target framework version to 4.6.2.

     

    Monday, June 13, 2016 9:52 AM
  • Thank you for your update.

    Please have a look at the migration guide to the .NET Framework 4.6 and 4.5 article: https://msdn.microsoft.com/en-us/library/ff657133%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396

    .NET Framework Versions and Dependencies: The .NET Framework 4.5 is an in-place update that replaces the .NET Framework 4 on your computer, and similarly, the .NET Framework 4.5.1 4.5.2, 4.6, 4.6.1, and 4.6.2 are in-place updates to the .NET Framework 4.5, which means that they use the same runtime version, but the assembly versions are updated and include new types and members. After you install one of these updates, your .NET Framework 4, .NET Framework 4.5, or .NET Framework 4.6 apps should continue to run without requiring recompilation.

    Some changes in the .NET Framework may require changes to your app code; see Application Compatibility in the .NET Framework before you run your existing apps with the .NET Framework 4.5 or later versions.

    It looks like there is no direct method to determine the effect of the.NET Framework upgraded, and I’m sorry for this.

    Best regards,

    Sara


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, June 15, 2016 7:20 AM
    Moderator