Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
v-meilei opened this issue Sep 30, 2024 · 3 comments
Labels
AT-CTI Created by CTI team

Comments

@v-meilei
Copy link

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: Fail to deploy a .NET 7.0 web project to a basic .NET 7 Web App #2271, the issue should be solved in the next .NET 9.0 RC release.
@v-meilei v-meilei added the AT-CTI Created by CTI team label Sep 30, 2024
@nturinski
Copy link
Member

I think we need to support the .NET 9 runtime in order for this to work. I'll look into enabling this in the extension, though please keep an eye on the next .NET 9 RC release.

@MicroFish91
Copy link
Contributor

Can you retest again with .NET 9 and let us know if this works? A fix was put in not long ago that may have addressed this

@v-meilei
Copy link
Author

Can you retest again with .NET 9 and let us know if this works? A fix was put in not long ago that may have addressed this

Verified this issue on the latest main branch build 20241005.1 and the current released .NET version 9.0.100-rc.2.24474.11, this issue still reproduces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AT-CTI Created by CTI team
Projects
None yet
Development

No branches or pull requests

3 participants