sách gpt4 ai đã đi

Nên sử dụng phiên bản Azure SDK nào trên nền tảng Azure?

In lại 作者:行者123 更新时间:2023-12-04 21:43:47 26 4
mua khóa gpt4 Nike

您好,我是 Azure 的新手。我有 VS 2012 和 Azure SDK 2.1,当我使用模拟器运行我的 Web 应用程序时一切正常。但是当我在 azure 上部署时出现错误消息:

Could not load file or assembly 'Microsoft.WindowsAzure.ServiceRuntime, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Windows Azure 平台是否使用旧版本?请问我该如何解决这个问题。

1 Câu trả lời

我敢说有两种可能性(按照可能性的顺序):

1) 对于 ServiceRuntime,CopyLocal=True,它应该为 false。 ServiceRuntime 已部署在 Azure 计算机上。您不想部署自己的。

2) 您的云服务配置以某种方式配置为使用旧版本的 Azure,这会强制部署的 VM 使用 SDK 2.0 或更低版本,而您的代码需要 v2.1。确保 osFamily、osVersion 和 schemaVersion 都符合 2.1 的要求(我相信 schemaVersion 定义了正确的 Azure SDK 版本)

关于azure - Azure 平台上使用哪个版本的 Azure SDK?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18366644/

26 4 0
行者123
Hồ sơ cá nhân

Tôi là một lập trình viên xuất sắc, rất giỏi!

Nhận phiếu giảm giá Didi Taxi miễn phí
Mã giảm giá Didi Taxi
Giấy chứng nhận ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com