Skip to content

Start shipping Microsoft.Build.TaskAuthoring.Analyzer #14511

Closed as duplicate

Description

@OvesN

Context

MSBuild already has a packable Roslyn analyzer project, Microsoft.Build.TaskAuthoring.Analyzer, under src/TaskAnalyzer. It is currently marked with <IsShipping>false</IsShipping> and documented as available only to partner repositories.

The analyzer is now used successfully in MSBuild and the .NET SDK. Making it publicly available would let task authors opt in to automated checks for APIs and patterns that are unsafe for multithreaded task execution, helping adoption across the ecosystem.

This follows the discussion in dotnet/roslyn#84421 (comment).

Activity

  1. self-assigned this
    on Jul 24, 2026
  2. baronfel commented on Jul 24, 2026

    @baronfel
    Member

    Before shipping this publicly, we should decide if we want to just include the analyzer(s) in one of our existing packages or not.

  3. OvesN commented on Aug 12, 2026

    @OvesN
    ContributorAuthor

    Duplicate issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions