在生产环境中升级asp.net网站的Dotnet框架版本 [英] Upgrading Dotnet framework version for asp.net website on production enviorment

查看:99
本文介绍了在生产环境中升级asp.net网站的Dotnet框架版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前托管的asp.net网站生产上的目标是.Net Framework 4.0.我想升级这个网站 .net framework 4.6.2.任何人都可以向我解释如何使用4.6.2更改目标框架以及对现有代码有什么影响.

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. 

推荐答案

亲爱的 Jitendra.Jain

Dear Jitendra.Jain,

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 (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.


这篇关于在生产环境中升级asp.net网站的Dotnet框架版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆