加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

asp.net-mvc – Azure App Service Web App编译错误

发布时间:2020-12-16 07:34:34 所属栏目:asp.Net 来源:网络整理
导读:通过Azure Web部署成功发布我的应用程序后,我在打开网站时遇到此错误: Server Error in '/' Application.Compilation ErrorDescription: An error occurred during the compilation of a resource required to service this request.Please review the foll
通过Azure Web部署成功发布我的应用程序后,我在打开网站时遇到此错误:

Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request.
Please review the following specific error details and modify your source code appropriately. 

Compiler Error Message: The compiler failed with error code -532462766.

How can I address this issue?

解决方法

此编译错误是由于.DLL过去上传的问题.如果您之前已使用Web部署上载,并且Visual Studio未在第二次部署中正确检测到依赖关系更新,则可能会发生这种情况,因此不会部署更改的.DLL.

更新:最佳解决方案是通过Web Deploy更新网站时,选择“文件发布选项”下的“删除目标位置的其他文件”选项

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读