我们在 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 Storage Emulator 时,它失败并出现Error: Unable to start the storage emulator。
有没有办法在 VSTS Hosted 2017 代理上启动 Azure 存储模拟器?