SAIF.Premium.Api.Client is an SDK-style net8.0 class library that
dotnet pack turns into a NuGet package straight from its .csproj; there is no
nuspec. The project does not set a version: the PremiumApi_Client pipeline
supplies one from its build number, in the form 8.2026.1021.1, and branch
builds carry a branch-name suffix. The package ships the compiled client, its
symbols, and the SAIF.Premium.Api.Contracts assembly bundled from a project
reference. The feed and the publish trigger are not stated in the repository.
IServiceCollection and AddTransient for the AddPremiumClient() registration extension
Microsoft.Extensions.DependencyInjection.Abstractions is the one dependency
beyond the SAIF HTTP and service packages. It is carried into every consumer, but
every consumer is a .NET 8 host that already references it, so it adds no
version constraint in practice.
See Dependencies for the full dependency landscape including transitive and build-time references.
PrivateAssets="All" keeps dotnet pack from emitting a dependency on
SAIF.Premium.Api.Contracts, which no feed publishes, and the
CopyProjectReferencesToPackage target copies its output into lib/net8.0
instead. Consumers therefore receive PremiumSummary, PremiumEstimate and the
other contracts inside this package and cannot take a different version of them.
The shared template selects the project to pack; no template parameter names it.
AppType is CoreApi because the repository's primary application is the Premium
API, not because this package is an API client. nugetPackageSuffix: branchName
means a branch build is packed as a pre-release with the branch name as its
suffix, so consumers see one package version per branch build.