dev*_*kle 4 vb.net asp.net-mvc azure azure-web-sites
通过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.
Run Code Online (Sandbox Code Playgroud)
我该如何解决这个问题?
dev*_*kle 16
此编译错误是由于.DLL过去上传的问题.如果您之前已使用Web部署上载,并且Visual Studio未在第二次部署中正确检测到依赖关系更新,则可能会发生这种情况,因此不会部署更改的.DLL.
更新:最佳解决方案是通过Web Deploy更新网站时,选择下面的Remove additional files at destination选项File Publishing Options
| 归档时间: |
|
| 查看次数: |
1232 次 |
| 最近记录: |