Skip to content

Document: Port to portable mode #53653

Closed
Closed

Description

To port from zipped 1.24 to real portable mode 1.25 I

  • moved C:\Users\<username>\AppData\Roaming\Code to <VSCode>\data\user-data
  • moved C:\Users\<username>\.vscode\extensions to <VSCode>\data\extensions

For now, everything seems to be working fine.

Is this the recommended way to port an existing setup to real portable mode? If yes, you should consider adding this to the docs.

Activity

  1. joaomoreno commented on Jul 6, 2018

    @joaomoreno
    Contributor

    Yes that should do it. Not sure this warrants a docs section. If we get more questions/requests, I'll put it in the docs.

  2. eromoe commented on Jul 10, 2018

    @eromoe

    Marc Schlaich (@schlamar)
    I can't open vscode after doing that.

    image

  3. changed the title [-]Port to portable mode[/-] [+]Document: Port to portable mode[/+] on Jul 11, 2018
  4. added
    feature-request
    workbench-os-integration
    on Jul 11, 2018
  5. joaomoreno commented on Jul 11, 2018

    @joaomoreno
    Contributor

    Reopening for documentation.

  6. joaomoreno commented on Jul 12, 2018

    @joaomoreno
    Contributor
  7. eromoe commented on Jul 13, 2018

    @eromoe

    João Moreno (@joaomoreno)
    I do construct folder like that. My home PC did work, but my work PC didn't . Vscode even don't show up , and there is no error msg .

    They are both win10 x64, the only different is vscode install in Driver C in my work PC . Which need admin right to copy files into, may be by this ?

  8. joaomoreno commented on Jul 13, 2018

    @joaomoreno
    Contributor

    Portable mode is not supported if you install VS Code. It is only supported if you get the ZIP download.

  9. eromoe commented on Jul 16, 2018

    @eromoe

    No, it sopport both installed and zip version actually . Everything is fine after moving to
    driver D . I tested it in weekend, this must be some privilege problems in windows 10 driver C .

  10. added
    verification-needed
    on Aug 1, 2018
  11. added
    verified
    and removed
    verification-needed
    on Aug 1, 2018
  12. jpresley commented on Aug 15, 2018

    @jpresley

    I have all of that working but I still can't run dotnet commands like dotnet new console without installing the CLI on the host machine. I have downloaded the CLI zip and have it on my drive but when I try to run the commands through the integrated terminal it errors stating that dotnet is not a cmdlet function etc. How do I get the integrated terminal or VS code or OmniSharp or whatever to look at the CLI on the portable drive and not just look for it in the default location on the C: drive?

  13. locked and limited conversation to collaborators on Aug 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestverifiedworkbench-os-integration

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions