Visual Studio is creating .vscode folder containing the extension folder, cli folder, etc. The folder is created in an inconvenient spot on my PC, and every time I move it to a new location or delete the folder, another .vscode folder takes its original place when I boot up Visual Studio again.
How can the .vscode folder be created in a different folder rather than the folder it is currently being created in? I want to change where the output goes to.
Its current location is in my Windows User Profile Folder.
Tried:
- Uninstalling Visual Studio, and redirecting the program’s file paths upon installation to a folder separate from everything else. No change with the .vscode location.
- I looked through the studio’s settings and added or changed other file related settings. Again, no change.
- Also, I looked around online, but there seems to be not many other problems that were similar to mine. I could be wrong though.
Luke is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
Try creating a Symlink if you want your .vscode folder be created in a different folder:
For that you can run the below command in the admin Command Prompt:
mklink /D "C:Users<YourUsername>.vscode" "C:YourCustomPath.vscode"
Replace with your actual Windows username and C:YourCustomPath.vscode
with the path where you want the .vscode folder to be located.