If I launch Developer PowerShell for VS2019, I can build my C# solution and control is given back when the devenv process exits.
$argsList = "/build Debu