根据微软文档: https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-run ?source=docs
这个SO线程 如何确定asp.net core应用程序将在哪个环境中运行?
我仍然无法确定dotnet runlaunchProfile.json 中的默认配置文件设置是什么?
谢谢,皮奥特
使用 Azure Web App 部署任务时,必须选择将在 Azure Web App 中使用的运行时堆栈。
我最近从 .NET 6 更新到 .NET 8,令我惊讶的是,您可以在任何需要的地方设置 .NET 8(例如管道构建、Azure 常规设置),但不能在 Azure Web App 部署任务中设置,因为下拉列表中缺少它,这会导致您的 Web 应用程序服务回退到 .NET 7,这可能会使您的应用程序停止运行。
如何修复破损的管道?