Running devenv.exe /setup never completes

Daniel Cazzulino's Avatar

Daniel Cazzulino

06 Aug, 2016 08:00 AM

As part of my build, I need to invoke devenv.exe /setup /rootSuffix Exp to ensure the experimental VS instance is ready for VS extensibility integration tests.

This causes the build to hang at that step and never return. Example build:


Needless to say, this works just fine on my dev box...

Thanks in advance!

  1. 1 Posted by Daniel Cazzulin... on 06 Aug, 2016 08:25 AM

    Daniel Cazzulino's Avatar

    The same non-returning behavior happens if I run the integration tests directly, so it seems to be something that prevents the VS experimental instance from starting or initializing properly:

  2. Support Staff 2 Posted by Feodor Fitsner on 06 Aug, 2016 02:30 PM

    Feodor Fitsner's Avatar

    Just glanced at build.proj - could it be that | more in that line preventing the build from going?

  3. 3 Posted by Daniel Cazzulin... on 07 Aug, 2016 03:31 AM

    Daniel Cazzulino's Avatar

    After accessing via RDP (first time, awesome feature!!!), I found out that VS was stuck in a modal dialog waiting for the user to choose a setting and optionally sign-in. Passing the right parameters to devenv (after checking how the VSSDK does it), I could automate the experimental instance setup and get green builds :D.

    For reference, this is what I changed:


    PD: I definitely need the | more there since I need to wait until that initialization is done before running the integration tests.

  4. Support Staff 4 Posted by Feodor Fitsner on 07 Aug, 2016 03:32 AM

    Feodor Fitsner's Avatar

    Looks great, thanks for the update!

  5. 5 Posted by Daniel Cazzulin... on 28 Nov, 2016 10:46 PM

    Daniel Cazzulino's Avatar

    Hit this again, this time the installed VS community 2013 license is stale in the provided image :(

  6. Support Staff 6 Posted by Feodor Fitsner on 28 Nov, 2016 11:11 PM

    Feodor Fitsner's Avatar

    Will fix that early this week. Added a new issue:

  7. Support Staff 7 Posted by Feodor Fitsner on 02 Dec, 2016 02:35 AM

    Feodor Fitsner's Avatar

    It's been updated.

  8. 8 Posted by Daniel Cazzulin... on 14 Mar, 2018 03:21 AM

    Daniel Cazzulino's Avatar

    Feel free to close this issue. Thanks!

    (should I be able to do so myself?)

  9. Daniel Cazzulino closed this discussion on 14 Mar, 2018 03:55 AM.

Comments are currently closed for this discussion. You can start a new one.

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


21 Mar, 2019 05:38 PM
21 Mar, 2019 06:16 AM
21 Mar, 2019 01:47 AM
20 Mar, 2019 11:39 PM
20 Mar, 2019 09:03 PM
20 Mar, 2019 08:55 PM