microsoft / azure-pipelines-tasks

Tasks for Azure Pipelines
https://aka.ms/tfbuild
MIT License
3.46k stars 2.6k forks source link

[enhancement]: Azure App Service Deployment: ARM - .NET 8 Support #19352

Open softwaretirol opened 9 months ago

softwaretirol commented 9 months ago

Task name

Azure App Service Deployment: ARM - .NET 8 Support

Describe your feature request here

Currently it seems .NET 7 is the highest available version for the runtime stack. image

.NET 8 is already released and should be supported.

v-mohithgc commented 9 months ago

Hi @softwaretirol , thanks for reporting, currently we are working on more prioritized issues, we will get back on this soon.

evaldas-raisutis commented 8 months ago

I was upgrading our clients to .NET 8 just to find out the release pipelines don't support it. Kind of crazy considering this is maintained by Microsoft...?

amitjaura commented 8 months ago

Runtime Stack is an editable field and is of type string. In the meantime you can enter DOTNETCORE|8.0 and it will work.

amitjaura commented 8 months ago

Hi @v-mohithgc, I'm happy to work on this if you can assign this to me.

evaldas-raisutis commented 8 months ago

@amitjaura thanks, that works!

Is it "DOTNET-ISOLATED|8.0" for azure functions then?

amitjaura commented 8 months ago

@evaldas-raisutis, I left if blank and it worked fine.

JPasterkampRotec commented 8 months ago

Manually editing the field and changing the 7's to 8's actually unsets the configured stack in the Azure App Service configuration after a release, don't do it!

Just another instance where I get slapped for upgrading to newest version.

neumann1990 commented 7 months ago

I was trying to use .NET 8 isolated, and thought I'd be ok given this statement in the docs:

If there is a newer version of a framework available in the supported runtime versions you can specify it even if it is not in the list.

During deployment, I got errors about a bad request (.NET 7 isolated works fine). I guess .NET 8 isolated needs to also be supported by the task, not just Azure Functions.

superLionn commented 7 months ago

Please fix this ASAP!

JPasterkampRotec commented 6 months ago

Any idea when this bug will be fixed?

v-mohithgc commented 6 months ago
nellyk commented 3 months ago

@v-mohithgc just checking to see if you have any updates on this

nellyk commented 3 months ago

Looks like this task uses this API

https://learn.microsoft.com/en-us/rest/api/appservice/provider/get-available-stacks?view=rest-appservice-2023-12-01

to get the list of runtimestack, at the moment it doesn't have the Dotnet core 8 version support. I've reached out to some contacts to see if we can get an updated api. I'll keep this chat updated if i get any updates

salhidev commented 1 week ago

How this is not a high priority ?!! Please fix..

salhidev commented 1 week ago

For app services, setting the Runtime Stack manually works: image