[CmdletBinding()]
param([ValidateSet('Debug','Release')][string]$Configuration='Release')
$ErrorActionPreference='Stop'
$taskRoot=Split-Path -Parent $PSScriptRoot
dotnet build (Join-Path $taskRoot 'native/ManagedPlugin/Platform/Platform.csproj') -c $Configuration --nologo
if($LASTEXITCODE -ne 0){throw 'Native ABI boundary build failed.'}
[CmdletBinding()]
param([ValidateSet('Debug','Release')][string]$Configuration='Release')
$ErrorActionPreference='Stop'
$taskRoot=Split-Path -Parent $PSScriptRoot
dotnet build (Join-Path $taskRoot 'native/ManagedPlugin/Platform/Platform.csproj') -c $Configuration --nologo
if($LASTEXITCODE -ne 0){throw 'Native ABI boundary build failed.'}