Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

ApiReferenceExportOptions Properties

ClassProperties3 members
Describes the package identity and ownership scope of an IApiReferenceExporter export.
ExportingAssemblyNamesSection titled ExportingAssemblyNamesIReadOnlyCollection<string>
Gets the assemblies whose symbols this package owns and documents.
public IReadOnlyCollection<string> ExportingAssemblyNames { get; }
The collection is a snapshot of the names passed to the constructor.
Gets the name of the package being exported.
public string PackageName { get; }
PackageVersionSection titled PackageVersionstring
Gets the version label recorded for this export, as supplied by the caller.
public string PackageVersion { get; }
Consumers key published documentation on this value, so callers are expected to pass the exact version that was restored. Nothing on this type can confirm that: an exporter sees loaded assemblies, not the package resolution that produced them, so any value — including a floating or range expression — would be recorded verbatim. Exactness therefore belongs where the restore is decided. aspire sdk export rejects a floating or range version before the scanner is built, pins the requested version so an unavailable one fails the restore instead of resolving upward, and refuses a package a repository checkout would build in place of the requested one.