Deploy an ASP.NET Core App to App EngineGo to Lab
The dotnet version in console is 3.0, hence paths mentioned in guide is wrong. Whereas when i use FROM gcr.io/google-appengine/aspnetcore:3.0 in Dockerfile, it fails to deploy. It needs to be 2.1
Updating service [default] (this may take several minutes)...failed. ERROR: (gcloud.app.deploy) Error Response:  Application startup error: It was not possible to find any compatible framework version The specified framework 'Microsoft.AspNetCore.App', version '3.0.0' was not found. - Check application dependencies and target a framework version installed at: /usr/share/dotnet/ - Installing .NET Core prerequisites might help resolve this problem: https://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409 - The .NET Core framework and SDK can be installed from: https://aka.ms/dotnet-download - The following versions are installed: 2.1.14 at [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
.Net core super.
Found there is a problem with the manual, as it refers to Dot Net 2.0 but the lab is using Dot Net 3.0 and there seems to be no matching Docker Image. Have contacted support, they are looking into it.