.NET Core 5 的发布配置在 Azure 中未显示。

huangapple go评论85阅读模式
英文:

Publish profile for .NET Core 5 is not showing up in Azure

问题

我有一个.NET Core 5应用程序,我正在尝试在Azure中创建一个Web应用程序。我无法在这里看到使用.NET Core 5版本的发布选项。 请查看此截图: .NET Core 5 的发布配置在 Azure 中未显示。

英文:

I have a .NET Core 5 application, I'm trying to create a web application in Azure. I'm not able to see the publish here with version .NET Core 5.

Please see this screenshot:

.NET Core 5 的发布配置在 Azure 中未显示。

答案1

得分: 2

Thanks @marc_s for the comment.

In Visual Studio, you can see that it clearly says, .NET 5.0 is Out of support.

如果您在Visual Studio中查看,您会清楚地看到,.NET 5.0已经不再受支持。

If you have developed the application in .NET 5 and still want to deploy the App, you can continue it.

如果您已经在.NET 5中开发了应用程序,并且仍然想部署该应用程序,您可以继续进行。

When you deploy the Application, runtime stack is taken as .NET 5 , And it suggests you to update the version.

当您部署应用程序时,运行时堆栈将被设置为.NET 5,并建议您更新版本。

When deployed from Visual Studio:

从Visual Studio部署时:

You can see the .NET 5 option now.

您现在可以看到.NET 5选项。

Whereas if you are creating the App Service from the Azure portal, you cannot see the option of .Net 5 (like you are seeing now in your case).

但是,如果您是从Azure门户创建App Service,您将看不到.Net 5的选项(就像您在您的情况中看到的那样)。

From Azure App Service in Azure Portal:

从Azure门户中的Azure App Service:

英文:

Thanks @marc_s for the comment.

In Visual Studio, you can see that it clearly says, .NET 5.0 is Out of support.

.NET Core 5 的发布配置在 Azure 中未显示。

If you have developed the application in .NET 5 and still want to deploy the App, you can continue it.

.NET Core 5 的发布配置在 Azure 中未显示。

When you deploy the Application, runtime stack is taken as .NET 5 , And it suggests you to update the version.

When deployed from Visual Studio:

.NET Core 5 的发布配置在 Azure 中未显示。

You can see the .NET 5 option now.

.NET Core 5 的发布配置在 Azure 中未显示。

Whereas if you are creating the App Service from the Azure portal , you cannot see the option of .Net 5 (like you are seeing now in your case).

From Azure App Service in Azure Portal:

.NET Core 5 的发布配置在 Azure 中未显示。

huangapple
  • 本文由 发表于 2023年4月17日 12:05:20
  • 转载请务必保留本文链接:https://go.coder-hub.com/76031648.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定