зеркало из https://github.com/dotnet/msbuild.git
2d924ca8c2
Fixes #9915 Context #9789 added a template for custom analyzer. In order for that to be usable by our customers - we need to be publishing this to nuget feed along with our other binaries. So we should have the package produced from our repo - ideally as part of our build script Changes Made Create a template package project with property <GeneratePackageOnBuild>true</GeneratePackageOnBuild>that pack the templates into a nuget package when build. Add the package project in the msbuild solution in order to build the project. Testing https://dev.azure.com/devdiv/DevDiv/_build/results?buildId=9602998&view=artifacts&pathAsName=false&type=publishedArtifacts in the packageArtifacts folder. image |
||
---|---|---|
.. | ||
content/Microsoft.AnalyzerTemplate | ||
Microsoft.Build.Templates.csproj | ||
README.md |
README.md
MSBuild Custom Analyzer Template Package
The package contains the template designed to streamline the creation of MSBuild analyzer libraries.
Template name | Short name | Description |
---|---|---|
MSBuild Custom Analyzer Template | msbuildanalyzer |
A project for creating a MSBuild analyzer library that targets .NET Standard. |
The package is available for download from nuget.org. Please feel to contribute or provide the feedback in discussions or via opening the issue in dotnet/msbuild repo.