$ErrorActionPreference = 'Stop'
$root = Split-Path -Parent $MyInvocation.MyCommand.Path
Set-Location $root
& dotnet restore .\PortfolioSuiteLauncher.vbproj
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
& dotnet run --project .\PortfolioSuiteLauncher.vbproj
exit $LASTEXITCODE
