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"