vscode-azureappservice icon indicating copy to clipboard operation
vscode-azureappservice copied to clipboard

An error displays in the website after deploying a .NET 9.0 project to the .NET 9 web app

Open v-meilei opened this issue 1 year ago • 3 comments

OS: All Build Version: 20240927.1 .NET Version: 9.0.100-rc.1.24452.12

Repro Steps:

  1. Create a .NET 9.0 web project using command "dotnet new web".
  2. Create a basic .NET 9 Web App.
  3. Deploy the .NET 9.0 web project to the basic .NET 9 Web App.
  4. Execute "Browse Website" action.
  5. Check whether the "Hello Word!" displays in the webpage.

Expect: The "Hello Word!" displays in the webpage.

Actual: An error "HTTP Error 500.31 - ANCM Failed to Find Native Dependencies" displays in the web page. image

More Info:

  1. An error "Application Error" displays in the web page after deploying to a Linux .NET 9 web app. image
  2. Based the comments on this bug: https://github.com/microsoft/vscode-azureappservice/issues/2271, the issue should be solved in the next .NET 9.0 RC release.

v-meilei avatar Sep 30 '24 07:09 v-meilei