3 writes to PackageId
Microsoft.DotNet.Build.Tasks.Packaging.Tests (3)
HarvestPackageTests.cs (3)
93
PackageId
= "System.Collections.Immutable",
121
PackageId
= "Microsoft.Win32.Registry",
149
PackageId
= "System.Runtime",
16 references to PackageId
Microsoft.DotNet.Build.Tasks.Packaging (13)
HarvestPackage.cs (13)
143
_packageFolders.Add(
PackageId
, LocatePackageFolder(
PackageId
, PackageVersion));
161
string packagePath = _packageFolders[
PackageId
];
175
string package = $"{
PackageId
}/{PackageVersion}";
198
var compileAssets = resolver.ResolveCompileAssets(fx,
PackageId
);
239
var refAssm = compileAssets.FirstOrDefault(r => !NuGetAssetResolver.IsPlaceholder(r))?.Substring(
PackageId
.Length + 1);
257
Log.LogMessage(LogImportance.Low, $"Validating version {version} for {supportedFramework.ItemSpec} because it was supported by {
PackageId
}/{PackageVersion}.");
268
string pathToPackage = _packageFolders[
PackageId
];
402
Log.LogMessage($"Using reference {livePackagePath} from last stable package {
PackageId
}/{PackageVersion} rather than the built reference {liveFile.SourcePath} since it is the same API version. Set <Preserve>true</Preserve> on {liveFile.SourceProject} if you'd like to avoid this..");
413
Log.LogMessage(LogImportance.Low, $"Including {livePackagePath} from last stable package {
PackageId
}/{PackageVersion}.");
445
item.SetMetadata("HarvestedFrom", $"{
PackageId
}/{PackageVersion}/{harvestPackagePath}");
458
Log.LogError($"Path '{pathNotIncluded}' was specified in {nameof(PathsToInclude)} but was not found in the package {
PackageId
}/{PackageVersion}.");
488
Log.LogError($"Cannot locate package '{
PackageId
}' version '{PackageVersion}' under '{string.Join(", ", PackagesFolders)}'. Harvesting is needed to redistribute assets and ensure compatibility with the previous release. You can disable this by setting HarvestStablePackage=false.");
Microsoft.DotNet.Build.Tasks.Packaging.Tests (3)
HarvestPackageTests.cs (3)
98
task.PackagesFolders = new[] { FindPackageFolder(task.
PackageId
, task.PackageVersion) };
125
task.PackagesFolders = new[] { FindPackageFolder(task.
PackageId
, task.PackageVersion) };
158
task.PackagesFolders = new[] { FindPackageFolder(task.
PackageId
, task.PackageVersion) };