- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我有一个在 Linux 上的 Azure 应用服务 中运行的应用,我决定将该应用从 .NET Core 2.1 升级到 .NET Core 2.2。它以 .NET Core 2.2
dotnet new angular
模板为蓝本。
我的应用程序使用 Azure Web App for ASP.NET
模板及其默认值以及对 Azure App Service Deploy
任务的以下更新在 Azure DevOps 中构建:
应用服务类型:适用于 Linux 的 Azure Web 应用
运行时堆栈:.NET Core 2.2
启动命令:dotnet MyAppName.dll
此任务成功部署应用程序,我通过 FTP 确认部署的内容。
启动并导航到该应用程序会显示此页面:
在本地,我的应用程序在 Visual Studio 2017 的调试和 Release模式下成功运行。如果我在本地托管 dotnet publish -c Release
命令的内容,它也可以正常工作。
我在 Azure 门户中使用监控 > 诊断日志启用了日志,并在文件 2019_02_14_RD00155D99205C_default_docker.log
中找到了这条消息:
2019-02-14T19:52:29.377625884Z _____
2019-02-14T19:52:29.377672685Z / _ \ __________ _________ ____
2019-02-14T19:52:29.377679386Z / /_\ \___ / | \_ __ \_/ __ \
2019-02-14T19:52:29.377684186Z / | \/ /| | /| | \/\ ___/
2019-02-14T19:52:29.377688886Z \____|__ /_____ \____/ |__| \___ >
2019-02-14T19:52:29.377693986Z \/ \/ \/
2019-02-14T19:52:29.377698686Z A P P S E R V I C E O N L I N U X
2019-02-14T19:52:29.377703186Z
2019-02-14T19:52:29.377707486Z Documentation: http://aka.ms/webapp-linux
2019-02-14T19:52:29.377711986Z Dotnet quickstart: https://aka.ms/dotnet-qs
2019-02-14T19:52:29.377716587Z
2019-02-14T19:52:29.956004709Z Starting OpenBSD Secure Shell server: sshd.
2019-02-14T19:52:30.234443169Z The specified framework 'Microsoft.AspNetCore.App', version '2.2.0' was not found.
2019-02-14T19:52:30.234492570Z - Check application dependencies and target a framework version installed at:
2019-02-14T19:52:30.234498570Z /usr/share/dotnet/shared/Microsoft.AspNetCore.App
2019-02-14T19:52:30.234615073Z - Alternatively, install the framework version '2.2.0'.
我还没有找到任何其他线索。这是否意味着在将运行时堆栈设置为 .NET Core 2.2 时,Azure 提供的默认图像不正确?
更新找到this link其中提到 Linux 上的 2.2 将于 2019 年 2 月 12 日“推出”。也许这意味着我的应用服务所在的位置(美国东部)尚未部署正确的镜像。假设这是正在发生的事情,向 Azure 门户和 Azure DevOps UI 添加一个新的非工作 2.2 选项是糟糕的用户体验。
最佳答案
我今天再次测试并能够部署 .NET Core 2.2 Linux 应用程序。根据对此 Github issue 的最新编辑判断,这很可能于 2018 年 2 月 26 日开始工作.
关于linux - 找不到指定的框架 'Microsoft.AspNetCore.App',版本 '2.2.0'。 - Linux 上的 Azure 应用服务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54700112/
例如,我有一个父类Author: class Author { String name static hasMany = [ fiction: Book,
代码如下: dojo.query(subNav.navClass).forEach(function(node, index, arr){ if(dojo.style(node, 'd
我有一个带有 Id 和姓名的学生表和一个带有 Id 和 friend Id 的 Friends 表。我想加入这两个表并找到学生的 friend 。 例如,Ashley 的 friend 是 Saman
我通过互联网浏览,但仍未找到问题的答案。应该很容易: class Parent { String name Child child } 当我有一个 child 对象时,如何获得它的 paren
我正在尝试创建一个以 Firebase 作为我的后端的社交应用。现在我正面临如何(在哪里?)找到 friend 功能的问题。 我有每个用户的邮件地址。 我可以访问用户的电话也预订。 在传统的后端中,我
我主要想澄清以下几点: 1。有人告诉我,在 iOS 5 及以下版本中,如果您使用 Game Center 设置多人游戏,则“查找 Facebook 好友”(如与好友争夺战)的功能不是内置的,因此您需要
关于redis docker镜像ENTRYPOINT脚本 docker-entrypoint.sh : #!/bin/sh set -e # first arg is `-f` or `--some-
我是一名优秀的程序员,十分优秀!