gpt4 book ai didi

azure - 如何在 Azure Web App 上更新 .NET Core?

转载 作者:行者123 更新时间:2023-12-03 00:12:58 24 4
gpt4 key购买 nike

我已将 Azure Web App 配置为从本地 git 存储库进行部署 - 我只需将更改推送到 Web App git 存储库,它就会构建并部署站点。

我刚刚将 ASP .NET Core 站点更新为:"version": "1.0.0-preview2-003133",之前是 003131,没有任何问题。

我现在在执行 git Push 时得到响应:

remote: GETSDKTOOLINGINFO : error : The project is configured to use .NET Core SDK version 1.0.0-preview2-003133 which is not installed or cannot be found under the path D:\Program Files (x86)\dotnet. These components are required to build and run this project. Download the version of .NET Core SDK specified in global.json or update the SDK version in global.json to the version that is installed.

我更愿意更新我的 Web 应用程序上的 .NET Core 版本而不是降级,但是如何进行呢?

如果你想知道我怎么已经有了 3133:https://github.com/aspnet/Tooling/issues/801

最佳答案

你基本上无法更新Azure上的dotnet版本。目前运行的dotnet版本是003131,所以还是要使用之前的版本。

关于azure - 如何在 Azure Web App 上更新 .NET Core?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39885480/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com