【问题标题】:Unsupported TargetFrameworkVersion 4.6.2 for Azure CloudService RoleAzure CloudService 角色不支持 TargetFrameworkVersion 4.6.2
【发布时间】:2017-06-12 16:22:38
【问题描述】:

我正在尝试在 Azure 2.8 上的 CloudService 项目中包含针对 .NET 4.6.2 的辅助角色项目。在构建 CloudService 项目时,我收到以下错误:

错误角色 Role1 正在使用不受支持的 TargetFrameworkVersion v4.6.2。 CloudService CloudService\objd\amd64\ServiceDefinition.csdef 1
错误角色 Role2 正在使用不受支持的 TargetFrameworkVersion v4.6.2。 CloudService CloudService\objd\amd64\ServiceDefinition.csdef 1

我也尝试安装 Azure 2.9.6,但无法摆脱此错误。

对此的任何指示将不胜感激。谢谢。

【问题讨论】:

    标签: azure azure-cloud-services .net-4.6.2


    【解决方案1】:

    您的云服务工作者角色是否部署在 Guest OS Family 5 系列上?

    只有 OS Family 5 系列能够支持 .NET Framework 4.6.2

    Azure Guest OS releases and SDK compatibility matrix

    【讨论】:

    • 这是一个 Visual Studio 构建错误。我还没有尝试部署它。
    猜你喜欢
    • 2017-02-15
    • 1970-01-01
    • 1970-01-01
    • 2015-05-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-11-26
    相关资源
    最近更新 更多