微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

通过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更新网站时,选择“文件发布选项”下的“删除目标位置的其他文件”选项

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐