英文:
Publish profile for .NET Core 5 is not showing up in Azure
问题
我有一个.NET Core 5应用程序,我正在尝试在Azure中创建一个Web应用程序。我无法在这里看到使用.NET Core 5版本的发布选项。 请查看此截图: 
英文:
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:
答案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.

If you have developed the application in .NET 5 and still want to deploy the App, you can continue it.
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:

You can see the .NET 5 option now.
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:

通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。



评论