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 .


If you log in, you will be notified when someone leaves a comment.

Other users would like to know if this solution helped you.

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

© 2023 - ErnesTech LLC- Privacy