Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document: Port to portable mode #53653

Closed
schlamar opened this issue Jul 6, 2018 · 8 comments
Closed

Document: Port to portable mode #53653

schlamar opened this issue Jul 6, 2018 · 8 comments
Assignees
Labels
feature-request Request for new features or functionality verified Verification succeeded workbench-os-integration Native OS integration issues
Milestone

Comments

@schlamar
Copy link

schlamar commented Jul 6, 2018

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.

@joaomoreno
Copy link
Member

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.

@eromoe
Copy link

eromoe commented Jul 10, 2018

@schlamar
I can't open vscode after doing that.

image

@joaomoreno joaomoreno changed the title Port to portable mode Document: Port to portable mode Jul 11, 2018
@joaomoreno joaomoreno added this to the July 2018 milestone Jul 11, 2018
@joaomoreno joaomoreno added feature-request Request for new features or functionality workbench-os-integration Native OS integration issues labels Jul 11, 2018
@joaomoreno joaomoreno reopened this Jul 11, 2018
@joaomoreno
Copy link
Member

Reopening for documentation.

@joaomoreno
Copy link
Member

@eromoe
Copy link

eromoe commented Jul 13, 2018

@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 ?

@joaomoreno
Copy link
Member

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

@eromoe
Copy link

eromoe commented Jul 16, 2018

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 .

@sbatten sbatten added the verification-needed Verification of issue is requested label Aug 1, 2018
@gregvanl gregvanl added verified Verification succeeded and removed verification-needed Verification of issue is requested labels Aug 1, 2018
@jpresley
Copy link

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?

@vscodebot vscodebot bot locked and limited conversation to collaborators Aug 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality verified Verification succeeded workbench-os-integration Native OS integration issues
Projects
None yet
Development

No branches or pull requests

6 participants