Dotnet App code deployed on Azure Container Apps gives No .NET SDKs were found.

Gaurav Bhargava 5 Reputation points
2024-09-03T23:31:02.9666667+00:00

My app runs successfully in local docker container however when deploying to azure container apps, it gives this error.

The command could not be loaded, possibly because:

  • You intended to execute a .NET application: The application 'UI_Core.dll' does not exist.
  • You intended to execute a .NET SDK command: No .NET SDKs were found.

Download a .NET SDK:

https://aka.ms/dotnet/download

Learn about SDK resolution:

https://aka.ms/dotnet/sdk-not-found

Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
423 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Rafael Caviquioli 20 Reputation points
    2024-10-01T15:05:16.1733333+00:00

    After facing this problem for many days, I found out this article that solved my problem:

    https://www.linkedin.com/pulse/app-service-troubleshooting-potato-snake-matthew-ricketts/

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.