【问题标题】:Failed to start AzureStorageEmulator on VSTS Hosted VS2017 Agent无法在 VSTS 托管的 VS2017 代理上启动 AzureStorageEmulator
【发布时间】:2018-03-02 21:39:39
【问题描述】:

我们在 VSTS 上有 .Net 项目构建定义,它使用 Azure 存储模拟器来运行测试。我们希望使用 Hosted 2017 代理进行构建定义。

我看到了这个问题 (Azure SDK not available on Hosted VS2017 VSTS Build Agent) 和评论说我可以使用命令“C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe init /server (localdb)\MSSQLLocalDb" 来初始化 Azure 存储模拟器。

但是,当我尝试使用命令“C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe start",它失败并出现错误:无法启动存储模拟器

有没有办法在 VSTS Hosted 2017 代理上启动 Azure 存储模拟器?

Command and Error

【问题讨论】:

    标签: azure visual-studio-2017 azure-devops build-agent


    【解决方案1】:

    VSTS 托管代理作为服务运行,您无法启动存储模拟器(初始化正常)。

    相关话题:VSO Hosted Build Controller - Is the Azure Storage Emulator supported?

    更新:

    经测试,现在可以在 Hosted VS2017 agent 上启动 Azure Storage Emulator。

    【讨论】:

    • 你指的是什么测试?
    • @GGirard 在使用托管 VS2017 代理的构建/发布期间调用 AzureStorageEmulator.exe。
    【解决方案2】:
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-10-22
    • 1970-01-01
    • 2017-10-28
    • 1970-01-01
    • 2018-06-15
    • 2017-12-19
    • 1970-01-01
    相关资源
    最近更新 更多