Watch Aspire live streamsDocsTry Aspire

AspireExportProviderAttribute

Classsealednet10.0
📦 Aspire.Hosting v13.6.0
Marks an assembly-level opt-in attribute whose source generator provides AspireExportAttribute coverage.
namespace Aspire.Hosting;
public sealed class AspireExportProviderAttribute
: System.Attribute
{
// ...
}
Attribute
Source generators can apply this attribute to their opt-in attribute type so the Aspire integration analyzer recognizes assemblies whose exports are produced during compilation. The opt-in attribute itself must target assemblies.