Back to Msbuild

MSBuild Custom Check Template

src/BuildCheck.UnitTests/TestAssets/ErrorCustomCheck/README.md

18.4.0874 B
Original Source

MSBuild Custom Check Template

Overview

MSBuild Custom Check Template is a .NET template designed to streamline the creation of MSBuild check libraries. This template facilitates the development of custom checks targeting .NET Standard, enabling developers to inspect and enforce conventions, standards, or patterns within their MSBuild builds.

Features

  • Simplified template for creating MSBuild check libraries.
  • Targeting .NET Standard for cross-platform compatibility.
  • Provides a starting point for implementing custom check rules.

Getting Started

To use the MSBuild Custom Check Template, follow these steps:

  1. Install the template using the following command:
    bash
    dotnet new install msbuildcheck
    
  2. Instantiate a custom template:
    bash
    dotnet new msbuildcheck -n <ProjectName>
    

Prerequisites

  • .NET SDK installed on your machine.