ApiReferenceExportOptions Properties
ClassProperties3 members
Describes the package identity and ownership scope of an
IApiReferenceExporter export. Gets the assemblies whose symbols this package owns and documents.
public IReadOnlyCollection<string> ExportingAssemblyNames { get; }Remarks
The collection is a snapshot of the names passed to the constructor.
Gets the name of the package being exported.
public string PackageName { get; } Gets the version label recorded for this export, as supplied by the caller.
public string PackageVersion { get; }Remarks
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.