无法在VSTS Hosted VS2017代理上启动AzureStorageEmulator

时间:2017-09-21 13:42:03

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

我们在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 启动Azure存储模拟器时",它失败,错误:无法启动存储模拟器

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

Command and Error

1 个答案:

答案 0 :(得分:0)

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

相关帖子:VSO Hosted Build Controller - Is the Azure Storage Emulator supported?

更新

根据测试,现在可以在Hosted VS2017代理上启动Azure存储模拟器。