- Install latest .NET SDK:
Invoke-WebRequest"https://dot.net/v1/dotnet-install.ps1"-OutFile "dotnet-install.ps1"; Set-ExecutionPolicy-Scope Process-ExecutionPolicy Bypass; ./dotnet-install.ps1 -Channel 8.0-Quality daily; Remove-Item-Path ./dotnet-install.ps1 -Force;
- Make sure pre-release workload manifest is in
nuget.config:<add key="dotnet8" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json"/>
- Restore workload with
dotnet workload restore - Run
dotnet publish
- Run
npx serveunderAppBundledir - Open the served index page in browser
- Run
node main.jsunderAppBundledir