The framework 'Microsoft.AspNetCore.App' version'3.1.0' was not found


Question: How do you resolve the Error: The framework 'Microsoft.AspNetCore.App' version'3.1.0' was not found when hosting an application in Docker Container Asp.net Core?

 


Login to See the Rest of the Answer

Answer:
Make sure that you are using the right Docker Image. If you are hosting a Dot Net Core Web Application in a Linux Enviroment, make sure that the image you are pulling is of the right version for example, Asp.Net Core 3.1 Docker image hosted in Linuxe Container will be pulled from mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim .





Dave said:

Thank you

Posted On: September 05, 2023 23:01:36 PM
Mark said:

Thank you

Posted On: June 17, 2023 14:22:38 PM
Merry said:

Thank you.

Posted On: January 08, 2023 9:58:11 AM
Mark said:

this is amazing

Posted On: January 02, 2023 8:52:52 AM
Hello said:

Hello

Posted On: January 02, 2023 8:48:52 AM
Josh said:

jkk

Posted On: January 02, 2023 8:30:22 AM

For peering opportunity Autonomouse System Number: AS401345 Custom Software Development at ErnesTech Email AddressContact: [email protected]