Files
setup-msbuild/action.yml
T
Chet HuskandCopilot App 50a58bfea2 Prefer native MSBuild on ARM64 runners
Select the installed ARM64 executable when available, and fall back to x64 or x86 on ARM64 runners. Preserve explicit architecture choices and document the default selection.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-11-13 12:44:32 -06:00

27 lines
956 B
YAML

name: "setup-msbuild"
description: "Helps set up MSBuild into PATH for later usage."
author: "Microsoft"
branding:
color: purple
icon: terminal
inputs:
vswhere-path:
required: false
description: "Folder location of where vswhere.exe is located if a self-hosted agent"
vs-version:
description: "Version of Visual Studio to search; defaults to latest if not specified"
required: false
vs-prerelease:
description: "Enable searching for pre-release versions of Visual Studio/MSBuild"
required: false
msbuild-architecture:
description: 'The MSBuild architecture: "x86", "x64", or "arm64". If unspecified with Visual Studio 17 or later, ARM64 runners use arm64 if installed, then x64 if installed, otherwise x86; x64 runners use x64. All other cases use x86.'
required: false
outputs:
msbuildPath:
description: "The resulting location of msbuild for your inputs"
runs:
using: "node24"
main: "dist/index.js"