app.yaml文件
runtime: aspnetcore
env: flex
# 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
我正在尝试通过Visual Studio 2017(在Windows 7上)将我的.NET MVC5应用程序部署到谷歌云平台,但由于某些原因,App Engine Flex已被禁用。
感谢。
答案 0 :(得分:2)
App Engine Flex仅支持.NET Core目标应用程序。我怀疑您的应用是针对.NET Framework。
如果您使用Google Cloud项目模板创建项目,请选择.NET Core作为目标框架,如下图所示。
并且,如this other answer中所述,Google Cloud Visual Studio Extension仅支持计算引擎发布.NET Framework targettin应用程序。
那是: