dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.35k stars 4.74k forks source link

Application Build with sdk .NET9 were not working in Azure app service(Linux) #109867

Open tossnet opened 2 hours ago

tossnet commented 2 hours ago

Description

I have a simple Blazor Server app that I upgraded from .NET8 to .NET9. No problem (Debug/Release). When deploying to Azure App Service, I get the error page : :( Application Error If you are the application administrator, you can access the [diagnostic resources].

I have no errror during my deployment. All lights are green

Reproduction Steps

Here's my pipeline where I simply changed the SDK version from 8.0 to 9.0.100

`trigger:

pool: vmImage: ubuntu-latest

variables: buildConfiguration: 'Release'

steps:

My agent job :

`steps:

Expected behavior

The application should work properly without any errors as it runs properly in Local and works perfectly with .NET 8 ( local and deployed)

Actual behavior

only this error page : :( Application Error If you are the application administrator, you can access the [diagnostic resources].

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

dotnet-policy-service[bot] commented 2 hours ago

Tagging subscribers to this area: @dotnet/area-meta See info in area-owners.md if you want to be subscribed.