Azure的部署:无法加载文件或程序集“dnx.clr.managed”或它的一个依赖。该系统找不到指定的文件 [英] Azure deployment : Could not load file or assembly 'dnx.clr.managed' or one of its dependencies. The system cannot find the file specified
本文介绍了Azure的部署:无法加载文件或程序集“dnx.clr.managed”或它的一个依赖。该系统找不到指定的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
创建一个新的ASP.NET 5(MVC 6)应用程序并部署到Azure上。你得到的HTTP 500异常。如果您创建的的web.config 的文件中的wwwroot文件夹具有以下标记:
Create a new ASP.NET 5 (MVC 6) app and deploy to Azure. You get the HTTP 500 exception. If you create a web.config file in the wwwroot folder with the following markup:
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
您获得称号的除外。
推荐答案
要得到这个错误的一种方法是部署一个64位版本(无论是核心或x86),以免费或共享的网络应用程序。如果您在发布对话框湛蓝的Web应用程序,VS创建一个免费的Web应用程序(它不支持64位)。
One way to get this error is to deploy a 64 bit version (either Core or x86) to a free or shared web app. If you create the azure web app in the publish dialog, VS creates a free web app (which doesn't support 64 bit).
这篇关于Azure的部署:无法加载文件或程序集“dnx.clr.managed”或它的一个依赖。该系统找不到指定的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文