VsExternalTools/MicroBuild.ps1


# This script can be added as an external tool to VisualStudio.
# Title: SingleBuild
# Command: powershell.exe
# Arguments: -nologo -noexit -executionpolicy unrestricted -file "D:\UserData\z0012stm\Documents\WindowsPowerShell\Modules\CmxModule\VsExternalTools\MicroBuild.ps1" "$(ProjectDir)" "$(ProjectFileName)"
# Use Ouput window: TRUE

Write-Output "Single Build . . . "
Import-Module CmxModule -Force
$projectPath = "$($Args[0])$($Args[1])"
Write-Output "ProjectPath = $projectPath"
BuildSingleProject -ProjectPath "$projectPath"