Reputation: 1921
I am trying to deploy a .net 5 project to google app engine but it looks like there is an issue when I want to build with .net5 runtime.
Here is my app.yaml
runtime: aspnetcore
env: flex
service: api
# This sample incurs costs to run on the App Engine flexible environment.
# The settings below are to reduce costs during testing and are not appropriate
# for production use. For more information, see:
# https://cloud.google.com/appengine/docs/flexible/python/configuring-your-app-with-app-yaml
manual_scaling:
instances: 1
resources:
cpu: 1
memory_gb: 0.5
disk_size_gb: 10
Once I send the app to gcloud I get this error :
Step #0: gcr.io/gcp- runtimes/aspnetcorebuild@sha256:f5552a5efdaf278a3124ea10fd1c96fg36b09fc9f98f9e620cbd71279797576b3f Step #0: No .deps.json file found for the app
Something weird is that when I write "dotnet --version" in the gcloud terminal it respond with : 3.1.407 Is there a way to update the dotnet runtime and sdk from google cloud ?
Upvotes: 0
Views: 1417
Reputation: 1921
I finally downloaded the Google cloud tool for visual studio and apparently, .net 5 is not supported in app engine for the moment.
Step #0: The app requires .NET Core runtime version 5 which is not supported at this time.
Upvotes: 1