3 writes to PackageVersion
Microsoft.DotNet.Build.Tasks.Packaging.Tests (3)
HarvestPackageTests.cs (3)
94
PackageVersion
= "1.5.0",
122
PackageVersion
= "4.3.0",
150
PackageVersion
= "4.3.0",
11 references to PackageVersion
Microsoft.DotNet.Build.Tasks.Packaging (8)
HarvestPackage.cs (8)
143
_packageFolders.Add(PackageId, LocatePackageFolder(PackageId,
PackageVersion
));
175
string package = $"{PackageId}/{
PackageVersion
}";
257
Log.LogMessage(LogImportance.Low, $"Validating version {version} for {supportedFramework.ItemSpec} because it was supported by {PackageId}/{
PackageVersion
}.");
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
) };