Aspire.Hosting.Azure.Provisioning.Generators 13.6.0-preview.1.26479.8

Prefix Reserved
This is a prerelease version of Aspire.Hosting.Azure.Provisioning.Generators.
dotnet add package Aspire.Hosting.Azure.Provisioning.Generators --version 13.6.0-preview.1.26479.8
                    
NuGet\Install-Package Aspire.Hosting.Azure.Provisioning.Generators -Version 13.6.0-preview.1.26479.8
                    
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="Aspire.Hosting.Azure.Provisioning.Generators" Version="13.6.0-preview.1.26479.8">
  <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="Aspire.Hosting.Azure.Provisioning.Generators" Version="13.6.0-preview.1.26479.8" />
                    
Directory.Packages.props
<PackageReference Include="Aspire.Hosting.Azure.Provisioning.Generators">
  <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 Aspire.Hosting.Azure.Provisioning.Generators --version 13.6.0-preview.1.26479.8
                    
#r "nuget: Aspire.Hosting.Azure.Provisioning.Generators, 13.6.0-preview.1.26479.8"
                    
#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 Aspire.Hosting.Azure.Provisioning.Generators@13.6.0-preview.1.26479.8
                    
#: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=Aspire.Hosting.Azure.Provisioning.Generators&version=13.6.0-preview.1.26479.8&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Aspire.Hosting.Azure.Provisioning.Generators&version=13.6.0-preview.1.26479.8&prerelease
                    
Install as a Cake Tool

Azure Provisioning proxy generator

This package is experimental. The generated proxy APIs emit ASPIREAZUREPROVISIONING001, and the source-generator extension contract emits ASPIREEXPORT018.

This analyzer package generates bounded polyglot proxies for selected Azure Provisioning SDK assemblies.

Reference the package as a private analyzer dependency, then opt in root types with assembly attributes:

using Aspire.Hosting.Azure.Provisioning;
using Azure.Provisioning.KeyVault;

[assembly: GenerateAspireProvisioningProxy(
    typeof(KeyVaultService),
    IncludeContainingAssemblyTypes = true)]

When IncludeContainingAssemblyTypes is enabled, the generator projects every compatible public class and read-only struct in the root type's assembly. The selected root still controls the no-argument infrastructure lookup, while other provisionable resources receive identifier-based lookup and creation methods. Generated proxies use the shared types from Aspire.Hosting.Azure.Provisioning for Bicep values, expressions, and provisionable resources.

The generated opt-in attribute is marked with AspireExportProviderAttribute, the general extension point used by the Aspire integration analyzer to recognize source-generated export coverage. Other infrastructure generators can use the same contract without adding provider-specific behavior to the core analyzer.

Feedback & contributing

https://github.com/microsoft/aspire

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
13.6.0-preview.1.26479.8 29 9/29/2026