【发布时间】:2020-10-07 06:15:13
【问题描述】:
我们通过 KUDU 脚本在 Azure 中使用自动部署过程,到今天我们在 Azure 部署中心看到奇怪的错误:
命令 dotnet publish(以及“dotnet build”)返回:
MSBUILD : error MSB1025: An internal failure occurred while running MSBuild.
Unhandled exception. System.ComponentModel.Win32Exception (5): Access is denied.
System.ComponentModel.Win32Exception (5): Access is denied.
at System.Diagnostics.Process.set_PriorityClassCore(ProcessPriorityClass value)
at System.Diagnostics.Process.set_PriorityClass(ProcessPriorityClass value)
at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args)
at System.Diagnostics.Process.set_PriorityClassCore(ProcessPriorityClass value)
at System.Diagnostics.Process.set_PriorityClass(ProcessPriorityClass value)
at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
Failed exitCode=-532462766, command=dotnet publish "D:\home\site\repository\
...
详情:
- KUDU 脚本有自动部署过程
- app是.NET Core应用,.csproj有目标框架:netcoreapp2.2
问题可能在 Azure 方面,因为我们没有对项目进行任何更大的更改。 有没有人相同/类似的问题?
【问题讨论】:
-
感谢您在这里的输入,我遇到了同样的情况,您是否获得任何有关此问题的适当文档,如果是,请帮助我们摆脱这种情况。
标签: azure asp.net-core deployment azure-web-app-service kudu