Can we extract all common tasks in a `Common.ps1` script and use it everywhere? For running msbuild target we can have a function that does this:
```
ExecTarget "BuildDebug;buildsetupdebug"
```

and we define `ExecTarget` in `Common.ps1` like this
```
function ExecTarget ($targets)
{
  $scriptFolder = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent
  . ($scriptFolder + '.\SetupEnv.ps1')
  msbuild "$env:AzurePSRoot\..\build.proj" /t:builddebug
}
```