-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Application Build with sdk .NET9 rc-1 and .NET9 rc-2 were not working in Azure app service(Linux) #109212
Comments
What is the actual error thrown by the application when published? You should be able to enable logging and retrieve it from the App Service logs. |
@martincostello , Please find the application logs below, 2024-10-25T09:56:16.795181643Z _____ |
Looks like your instance of App Service doesn't have .NET 9 RC1 or RC2 installed. You'll need to deploy the application as a self-contained application until it does so that the runtime the compiled application needs is present in the deployment. |
Closing as answered -- until AppService has .NET 9 available, self contained is the only option. |
Description
I have created a new ASP.NET core web application (Razor Pages), and build the application with .NET9 rc-1 sdk. Then while publishing it to Azure app service Linux, it throws application error. The same behavior occurs while building the application with .NET9 rc-2 sdk (latest).
But If I build the same application with .NET9 preview 6, the application works as expected and the output was proper.
Note: In local windows machine, the application runs properly with the .NET9 rc1- or rc-2 sdk
Reproduction Steps
Expected behavior
The application should work properly without any errors as it runs properly in Local.
Actual behavior
It throws application error
Regression?
It works properly with the .NET9 preview6 version
Known Workarounds
No response
Configuration
Architecture: x64 (amd)
Other information
No response
The text was updated successfully, but these errors were encountered: