Skip to main content
Microsoft.TypeSpec.MSBuild package icon

Microsoft.TypeSpec.MSBuild

This package enables API First development of ProviderHub services using TypeSpec. It adds build targets to generate an ASP.Net MVC controller and OpenAPI definition from a TypeSpec description for the service. The package includes msbuild target files and a custom TypeSpec build task, integrating API-First development using TypeSpec into the project simply.

Total Downloads
13.1K
13,149
Published
Feb 19, 2026
Latest stable version

Install

.NET CLI
dotnet add package Microsoft.TypeSpec.MSBuild --version 0.42.0
Package Manager Console
Install-Package Microsoft.TypeSpec.MSBuild -Version 0.42.0
PackageReference
<PackageReference Include="Microsoft.TypeSpec.MSBuild" Version="0.42.0" />

Frameworks

.NETFramework4.7.2 .NETCoreApp3.1

Dependencies

No declared dependencies.

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.