Service Fabric SDK

Peter Tiedemann's Avatar

Peter Tiedemann

02 May, 2018 08:16 PM


We are developing software that makes use of Service Fabric ( see ). In order to run tests against a SF it is very convenient to run a local cluster on the test agent. Setting up a local cluster requires having the Service Fabric SDK installed. It is possible to install it on an appveyor agent, but it takes something like 7 minutes to do so.

Would it be possible to include it in the agent image ( i see you already have the normal Azure SDK for example) ?

  1. Support Staff 1 Posted by Feodor Fitsner on 02 May, 2018 11:53 PM

    Feodor Fitsner's Avatar

    Hi Peter,

    Service Fabric SDK 3.0 (Runtime 6.1) is already installed on build workers:
    Related issue:

  2. 2 Posted by Peter Tiedemann on 03 May, 2018 06:37 AM

    Peter Tiedemann's Avatar

    Hi Feodor,

    So i tested it now, and i think the upgrade from 2.7 to 3.0 was not clean
    (see )

    If i run:
    ."$ENV:ProgramFiles\Microsoft SDKs\Service

    It will fail. But if i run
    ."$ENV:ProgramFiles\Microsoft SDKs\Service

    first, then it works fine, however that takes additional time.

    I also tried connecting to the cluster immediately without setting anything
    up, but that also doesn't work. Perhaps there is some leftover data from an
    older versions local cluster?

  3. Support Staff 3 Posted by Feodor Fitsner on 03 May, 2018 04:55 PM

    Feodor Fitsner's Avatar

    Hi Peter,

    What build worker image is that: VS 2015 or VS 2017?

  4. 4 Posted by Peter Tiedemann on 03 May, 2018 05:21 PM

    Peter Tiedemann's Avatar


  5. Support Staff 5 Posted by Feodor Fitsner on 03 May, 2018 05:32 PM

    Feodor Fitsner's Avatar

    OK, I see. Running CleanCluster.ps1 was necessary before DevClusterSetup.ps1.

    We'll do that cleanup in the image:

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac