.NET框架4.6已发布.我已经迁移了我的应用程序但是当我部署到Azure网站时,我收到以下错误:
D:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.6" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.
Run Code Online (Sandbox Code Playgroud)
有没有办法在发布时安装或捆绑它?
Bri*_*win 10
更新:
https://azure.microsoft.com/en-us/blog/update-on-net-framework-4-6-and-azure/
更新(2015年8月14日) - 我们很高兴地宣布.NET Framework 4.6已经推广到Azure App Service.因此,Web App开发人员现在可以构建和部署运行.NET Framework 4.6的ASP.NET应用程序到Azure Web Apps.
已过时原始答案:
根据MSDN上的以下博客文章:
"Azure Web Apps可用性
随着ASP.NET 4.6的全新版本,Azure Web Apps服务仍在为这一重要更新做准备和测试.一旦我们确认Azure Web Apps可以托管具有与Microsoft Azure相同的高性能和保真度的ASP.NET 4.6应用程序,我们将宣布该服务的兼容性.我们的运营团队正在努力工作,我们将在不久的将来在Microsoft Azure博客上为您更新."
在MSDN论坛上,Per David Ebbo现在支持4.6.
4.6更新现已完成.请享用!
请注意,Azure门户仍然会说4.5,并且很快就会更新.但这只是一个字符串更新,4.5真的意味着4.6.
如果不正确的字符串困扰你,你真的想知道.您可以通过打开Kudu并导航到D:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework以查看可用的版本来验证它.有关详情,请参阅此处.
| 归档时间: |
|
| 查看次数: |
5394 次 |
| 最近记录: |