microsoft / microsoft/foundry-dev-tools
Can't save project inside WSL instance
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.1k
- Forks
- 260
- Avg merge
- 42m
- Merged PRs (30d)
- 29
Description
- open remote connection to default WSL instance
- open windows-ai-studio plugin
- in step 1 select
Project Locationto be WSL folder
The project is saved in C:\home\<username>\<project_name> instead.
Step 3 fails to generate project:
Debug: generate-project[0]
09:24:15.55 0 RunProcess fileName:wsl arguments:[ --exec bash \home\elsaco\ai\phi-2_test\setup\first_time_setup.sh] elevated:False
Error: generate-project[0]
09:24:15.66 0 RunProcess error:bash: \home\elsaco\ai\phi-2_test\setup\first_time_setup.sh: No such file or directory
Debug: generate-project[0]
VSCode complains that This workspace is on the Windows file system (/mnt/). For best performance, we recommend moving the workspace to the Linux file system (~/home)
Quick workaround: before finalizing step 3 manually move the project folder from C:\home to ~home in WSL instance.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing project-location handling in the Windows AI Studio plugin and the Step 3 generate-project entry point, then inspect how the selected WSL path is passed to bash. Done means a project selected in the WSL file system is saved there and setup/first_time_setup.sh runs without falling back to C:\home.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, linux, vscode
- Domain
- developer-experience, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100