tag:help.appveyor.com,2012-11-13:/discussions/problems/25025-need-latest-cosmosdb-emulatorAppVeyor: Discussion 2020-04-03T18:45:04Ztag:help.appveyor.com,2012-11-13:Comment/476650582019-09-27T00:57:56Z2019-09-27T00:57:56ZNeed Latest CosmosDB Emulator <div><p>We'll update CosmosDB Emulator during the next images update. Please watch this issue: <a href="https://github.com/appveyor/ci/issues/3110">https://github.com/appveyor/ci/issues/3110</a></p>
<p>What build image is that, btw?</p>
<p>For installing the latest CosmosDB Emulator during the build (take a min or so) add this to <code>appveyor.yml</code>:</p>
<pre>
<code>install:
- ps: Start-FileDownload "https://aka.ms/cosmosdb-emulator" -FileName "$env:temp\cosmosdb-emulator.msi"
- ps: cmd /c start /wait msiexec /i "$env:temp\cosmosdb-emulator.msi" /qn /quiet /norestart /log install.log</code>
</pre></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/476650582019-09-27T01:52:40Z2019-09-27T01:52:43ZNeed Latest CosmosDB Emulator <div><blockquote>
<p>What build image is that, btw?</p>
</blockquote>
<pre>
<code># Build Worker Image
image: Previous Visual Studio 2017</code>
</pre>
<p>That what you need?</p></div>Joergtag:help.appveyor.com,2012-11-13:Comment/476650582019-09-27T02:50:32Z2019-09-27T02:50:32ZNeed Latest CosmosDB Emulator <div><p>Is there a reason you use <code>Previous</code> image?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/476650582019-09-27T17:58:36Z2019-09-27T17:58:37ZNeed Latest CosmosDB Emulator <div><p>In investigate why we are using <code>Previous</code> image. In the mean time installing the most recent as you suggest works. Though I had to uninstall the existing version with:</p>
<p><code>- wmic product where name="Azure Cosmos DB Emulator" call uninstall</code></p>
<p>You can close this case.</p></div>Joergtag:help.appveyor.com,2012-11-13:Comment/476650582019-09-27T18:02:25Z2019-09-27T18:02:25ZNeed Latest CosmosDB Emulator <div><p>OK, thanks for the update!</p></div>Feodor Fitsner