MintPlayer.AspNetCore.Endpoints.Generator 11.4.2

dotnet add package MintPlayer.AspNetCore.Endpoints.Generator --version 11.4.2
                    
NuGet\Install-Package MintPlayer.AspNetCore.Endpoints.Generator -Version 11.4.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MintPlayer.AspNetCore.Endpoints.Generator" Version="11.4.2">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MintPlayer.AspNetCore.Endpoints.Generator" Version="11.4.2" />
                    
Directory.Packages.props
<PackageReference Include="MintPlayer.AspNetCore.Endpoints.Generator">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MintPlayer.AspNetCore.Endpoints.Generator --version 11.4.2
                    
#r "nuget: MintPlayer.AspNetCore.Endpoints.Generator, 11.4.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MintPlayer.AspNetCore.Endpoints.Generator@11.4.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MintPlayer.AspNetCore.Endpoints.Generator&version=11.4.2
                    
Install as a Cake Addin
#tool nuget:?package=MintPlayer.AspNetCore.Endpoints.Generator&version=11.4.2
                    
Install as a Cake Tool

MintPlayer.AspNetCore.Endpoints.Generator

The source generator of MintPlayer.AspNetCore.Endpoints, as an analyzer-only package with no FrameworkReference.

  • In a server, you do not need it: MintPlayer.AspNetCore.Endpoints already carries the same generator and its code fix.
  • In a typed client — Blazor WebAssembly, a console tool, another service — reference this package instead. It builds for browser-wasm, because it brings no ASP.NET Core with it:
<PropertyGroup>
  <GenerateEndpointsClient>true</GenerateEndpointsClient>
</PropertyGroup>
<ItemGroup>
  <PackageReference Include="MintPlayer.AspNetCore.Endpoints.Generator" Version="…" PrivateAssets="all" />
  <EndpointsServerReference Include="..\MyShop.Api\MyShop.Api.csproj" />
</ItemGroup>

EndpointsServerReference (from this package's build targets) builds the server and references its assembly metadata-only, and the generator writes an internal sealed partial class …Client per server into EndpointClients.g.cs, from the endpoint contracts in it. See "Typed client in another project" in the main package's README for the full rules and the MPEP021–MPEP023 diagnostics.

Requirements

A compiler with Roslyn 5.9 or newer: the .NET SDK 10.0.400+ or 11.x, or Visual Studio 2026. Older compilers are not supported. The generator ships in analyzers/dotnet/roslyn5.9/cs, so an older compiler (the .NET SDK 10.0.1xx ships Roslyn 5.0) skips it without a word: no client is generated, and the build fails wherever the generated code is used (in a server, first with CS1061 for the missing Map…Endpoints()). Update the SDK (or pin a newer one in global.json); nothing in your code is wrong.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.4.2 86 11/12/2026
11.4.1 122 10/24/2026
11.4.1-rc.0 74 10/11/2026
11.4.0-rc.0 74 10/8/2026
11.3.0-rc.0 78 10/2/2026
11.2.0-rc.0 73 9/26/2026
11.1.0-rc.0 73 9/25/2026
11.0.1-rc.0 80 9/17/2026
11.0.0 137 8/27/2026
10.0.0 154 3/15/2026