To run eShop locally, you must clone the repository and ensure Docker Desktop is installed and running. The setup process varies by operating system and preferred IDE.
Windows with Visual Studio
Install Visual Studio 2022 (version 17.10 or newer) with the following workloads:
ASP.NET and web development.NET Aspire SDK (found in Individual components)- (Optional)
.NET Multi-platform App UI development for client apps.
Alternatively, you can automate the configuration using PowerShell as an Administrator:
install-Module -Name Microsoft.WinGet.Configuration -AllowPrerelease -AcceptLicense -Force
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
get-WinGetConfiguration -file .\ .\configurations\vside.dsc.yaml | Invoke-WinGetConfiguration -AcceptConfigurationAgreements
Note: A restart is required after running this script.
Mac, Linux, or Windows without Visual Studio
Install the latest .NET 9 SDK.
To automate environment configuration for VS Code via PowerShell (Administrator):
install-Module -Name Microsoft.WinGet.Configuration -AllowPrerelease -AcceptLicense -Force
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
get-WinGetConfiguration -file .\ .\configurations\vscode.dsc.yaml | Invoke-WinGetConfiguration -AcceptConfigurationAgreements
Note: These commands may require sudo on non-Windows systems. A restart is required after running.