Skip to content

Setup MSBuild.exe

Actions
Uses VSWhere.exe to locate latest MSBuild put it into the PATH
v1
Latest
Star (46)

setup-MSBuild

This action sets up MSBuild.exe as a CLI tool for use in actions by:

  • optionally downloading and caching a version of VSWhere.exe to help find the latest MSBuild on the machine
  • Adds the location of the MSBuild to the PATH

Status: Archived

This GitHub action is now retired/archived as I have collobrated directly with Microsoft to release an official MSBuild GitHub Action https://github.com/microsoft/setup-msbuild https://github.com/marketplace/actions/setup-msbuild-exe

Usage

Basic:

steps:
name: ASP.NET CI
on: [push]
jobs:
  build:
    runs-on: windows-latest

    steps:
    - uses: actions/checkout@master

    - name: Setup MSBuild.exe
      uses: warrenbuckley/Setup-MSBuild@v1

    - name: MSBuild
      working-directory: src
      run: msbuild MyProject.csproj

License

The scripts and documentation in this project are released under the MIT License

Contributions

Contributions are welcome! See Contributor's Guide

Setup MSBuild.exe is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Uses VSWhere.exe to locate latest MSBuild put it into the PATH
v1
Latest

Setup MSBuild.exe is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.