{"id":28214868,"url":"https://github.com/sayedihashimi/sayedha-sandbox","last_synced_at":"2025-10-18T21:01:26.765Z","repository":{"id":291844694,"uuid":"978949996","full_name":"sayedihashimi/sayedha-sandbox","owner":"sayedihashimi","description":"Scripts to configure windows sandbox","archived":false,"fork":false,"pushed_at":"2025-05-14T19:13:13.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-12T01:41:13.071Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sayedihashimi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-06T18:55:09.000Z","updated_at":"2025-05-14T19:13:17.000Z","dependencies_parsed_at":"2025-05-06T20:37:59.704Z","dependency_job_id":"93e36960-8841-4cec-b2bc-6a4229a35762","html_url":"https://github.com/sayedihashimi/sayedha-sandbox","commit_stats":null,"previous_names":["sayedihashimi/sayedha-sandbox"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sayedihashimi/sayedha-sandbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayedihashimi%2Fsayedha-sandbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayedihashimi%2Fsayedha-sandbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayedihashimi%2Fsayedha-sandbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayedihashimi%2Fsayedha-sandbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sayedihashimi","download_url":"https://codeload.github.com/sayedihashimi/sayedha-sandbox/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayedihashimi%2Fsayedha-sandbox/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261108046,"owners_count":23110728,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-17T21:08:31.374Z","updated_at":"2025-10-18T21:01:26.699Z","avatar_url":"https://github.com/sayedihashimi.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Windows Sandbox Dev Environment Setup\n\nYou have two ways to set up the development environment in Windows Sandbox. Choose the one that best fits your needs:\n\n---\n\n## 🟢 Option 1 – Easiest: Use `start-vscode-aspire.bat`\n\nThis is the **simplest method**.\n\n- This uses the official [.NET installer guide](https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/install) and installs components using `dotnet.winget`.\n- After the Sandbox starts, **wait a few minutes**. A command prompt will eventually appear asking you to confirm installation of the components.\n- No setup required on the host machine.\n\nTo start, double click on `start-vscode-aspire.bat` in the root of the repo.\nWhen it starts a PowerShell window will appear,\npress Enter when prompted. After a few minutes you will need to confirm the installation components.\n\n### ⚠️ Note:\nThis option downloads files **every time**, so it may be slower if you run it often.\n\n---\n\n## ⚡ Option 2 – Faster for Reuse: Use `vscode-aspire-install-from-host.wsb`\n\nThis method downloads all tools once on the host and reuses them each time you launch Sandbox. Recommended if you'll run it multiple times.\n\n### ✅ Step 1: Download Tools on the Host\n\nRun this PowerShell script to download all necessary installers into the mapped folder:\n\n```powershell\n.\\download-tools.ps1\n```\n\n\u003e Run this in PowerShell 7 with appropriate execution policy (`Set-ExecutionPolicy RemoteSigned -Scope CurrentUser` if needed).\n\n### ✅ Step 2: Update the `.wsb` Configuration\n\nOpen the `.wsb` file you're using (e.g., `vscode-aspire-install-from-host.wsb`) and update the `HostFolder` path to match the full path on your machine:\n\nThe default value for `HostFolder` is.\n\n```xml\n\u003cHostFolder\u003eC:\\data\\mycode\\sayedha-sandbox\\mapped-folder\u003c/HostFolder\u003e\n```\n\nThe `HostFolder` path **must be absolute** — relative paths are not supported by `.wsb` files.\n\n### ✅ Step 3: Launch the Sandbox\n\nDouble-click the `.wsb` file. The command prompt will show installation progress as tools are installed from local files.\n\n---\n\n## 📁 Files Overview\n\n- `download-tools.ps1`: Downloads installers to the mapped folder.\n- `install-tools.bat`: Runs in Sandbox to install tools and apply configuration.\n- `vscode-aspire.wsb`: Easiest option, uses Winget to install in Sandbox.\n- `vscode-aspire-install-from-host.wsb`: Fast reusable option, uses pre-downloaded installers.\n\n---\n\n## 🔁 Reuse\n\nRun `download-tools.ps1` again anytime to refresh the tools on your host.\n\nEach time you start Sandbox with the \"from host\" config, the setup runs fast and offline using the cached files.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsayedihashimi%2Fsayedha-sandbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsayedihashimi%2Fsayedha-sandbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsayedihashimi%2Fsayedha-sandbox/lists"}